my code shows everything right
but judge shows me WA
#include<iostream>
#include<cstdio>
#include<stdlib.h>
using namespace std;
#define S 99999
struct lar
{
int lar;
int a,b;
}st[99999];
int main()
{
int num[S], sum[S];
int i,j,k;
int n;
int t;
cin >> t;
for(k=1; k<=t; k++)
{
cin >> n ...
Search found 43 matches
- Sun Dec 28, 2008 8:44 pm
- Forum: Volume 5 (500-599)
- Topic: 507 - Jill Rides Again
- Replies: 92
- Views: 44547
- Sat Dec 20, 2008 5:28 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10305 - Ordering Tasks
- Replies: 59
- Views: 31297
WHY 10305 - Ordering Tasks WA
ok code results everything okay
but WA why
#include<iostream>
#include<vector>
#include<queue>
#include<algorithm>
using namespace std;
#define S 222
#define INF 9999
vector<int> adj[S];
enum{White=0, Gray, Black,NO};
typedef pair<int,int> PII;
priority_queue<PII,vector<PII>,less<PII> > P;
int ...
but WA why
#include<iostream>
#include<vector>
#include<queue>
#include<algorithm>
using namespace std;
#define S 222
#define INF 9999
vector<int> adj[S];
enum{White=0, Gray, Black,NO};
typedef pair<int,int> PII;
priority_queue<PII,vector<PII>,less<PII> > P;
int ...
- Sun Dec 14, 2008 8:36 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10986 - Sending email
- Replies: 65
- Views: 39437
10986 - Sending email compilation error why
thanx mf
got AC
got AC
- Wed Oct 01, 2008 6:44 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10336 - Rank the Languages
- Replies: 21
- Views: 13917
Re: 10336 - Rank the Languages
why this is WA
i can't find
can anyone help me
#include<iostream>
#include<cmath>
#include<queue>
using namespace std;
#define MAX 111
bool g[MAX][MAX];
enum{No=0,white, Black,Gray};
int color[MAX][MAX];
int r,c;
char str[MAX][MAX];
bool graf[MAX][MAX];
int dfs(int x, int y, char ch)
{
int i,j ...
i can't find
can anyone help me
#include<iostream>
#include<cmath>
#include<queue>
using namespace std;
#define MAX 111
bool g[MAX][MAX];
enum{No=0,white, Black,Gray};
int color[MAX][MAX];
int r,c;
char str[MAX][MAX];
bool graf[MAX][MAX];
int dfs(int x, int y, char ch)
{
int i,j ...
- Tue Sep 09, 2008 6:09 pm
- Forum: Volume 5 (500-599)
- Topic: 531 - Compromise
- Replies: 73
- Views: 36932
531 - Compromise - PE
can anyone give me some tricky test case of PE of "compromise" 

- Mon Sep 08, 2008 6:28 pm
- Forum: Volume 5 (500-599)
- Topic: 531 - Compromise
- Replies: 73
- Views: 36932
helping PE in 531
anyone can help me in BAD pE
1. in printing last word no space print line
2. no output no line
is these right??
if not (i know from judge result)
let me know please.
1. in printing last word no space print line
2. no output no line
is these right??
if not (i know from judge result)
let me know please.
- Tue Aug 19, 2008 5:49 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11151 - Longest Palindrome
- Replies: 65
- Views: 43044
Re: 11151 - Longest Palindrome
arif bhai great helper............thank u 

- Tue Aug 19, 2008 5:03 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11151 - Longest Palindrome
- Replies: 65
- Views: 43044
Re: 11151 - Longest Palindrome
sorry
that was for Wrong answer.......
that was for Wrong answer.......
- Tue Aug 19, 2008 4:53 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11151 - Longest Palindrome
- Replies: 65
- Views: 43044
- Tue Aug 19, 2008 4:33 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11151 - Longest Palindrome
- Replies: 65
- Views: 43044
Re: 11151 - Longest Palindrome
here my post again
about "WA"
about "WA"
Code: Select all
AC
- Tue Aug 19, 2008 4:24 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11151 - Longest Palindrome
- Replies: 65
- Views: 43044
Re: 11151 - Longest Palindrome
again WA
after editing
after editing
- Sun Aug 17, 2008 4:40 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11151 - Longest Palindrome
- Replies: 65
- Views: 43044
Re: I still got WA
Here is my trying input
12
ADAM
MADAM
qweqweqwedadqweqweqwe ...
12
ADAM
MADAM
qweqweqwedadqweqweqwe ...
- Fri Aug 15, 2008 6:22 am
- Forum: Volume 112 (11200-11299)
- Topic: 11223 - O: dah dah dah!
- Replies: 43
- Views: 25689
Re: 11223 - O: dah dah dah! space problem
what about space i cannot understand
please give example through my code
and what wrong in my code
#include<iostream>
#include<cstring>
#include<ctype.h>
using namespace std;
int main()
{
string st ...
please give example through my code
and what wrong in my code
#include<iostream>
#include<cstring>
#include<ctype.h>
using namespace std;
int main()
{
string st ...
- Sat Aug 04, 2007 9:01 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 69475
check
any one can check this code
all the input output is right
for my code
but why WA
all the input output is right
for my code
but why WA
- Wed Aug 01, 2007 7:43 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10279 - Mine Sweeper
- Replies: 102
- Views: 43162
can anyone
CAN anyone tell me what is wrong for
result shows wrong ans
result shows wrong ans