Search found 43 matches

by bishop
Sun Dec 28, 2008 8:44 pm
Forum: Volume 5 (500-599)
Topic: 507 - Jill Rides Again
Replies: 92
Views: 30042

Re: 507 - Jill rides again

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; if(n==0) {co...
by bishop
Sat Dec 20, 2008 5:28 pm
Forum: Volume 103 (10300-10399)
Topic: 10305 - Ordering Tasks
Replies: 59
Views: 21483

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 color...
by bishop
Sun Dec 14, 2008 8:36 pm
Forum: Volume 109 (10900-10999)
Topic: 10986 - Sending email
Replies: 65
Views: 26921

10986 - Sending email compilation error why

thanx mf
got AC
by bishop
Wed Oct 01, 2008 6:44 pm
Forum: Volume 103 (10300-10399)
Topic: 10336 - Rank the Languages
Replies: 21
Views: 9471

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,m,n; ...
by bishop
Tue Sep 09, 2008 6:09 pm
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 25577

531 - Compromise - PE

can anyone give me some tricky test case of PE of "compromise" :cry:
by bishop
Mon Sep 08, 2008 6:28 pm
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 25577

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.
by bishop
Tue Aug 19, 2008 5:49 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32938

Re: 11151 - Longest Palindrome

arif bhai great helper............thank u :lol:
by bishop
Tue Aug 19, 2008 5:03 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32938

Re: 11151 - Longest Palindrome

sorry
that was for Wrong answer.......
by bishop
Tue Aug 19, 2008 4:53 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32938

Re: 11151 - Longest Palindrome

AC
by bishop
Tue Aug 19, 2008 4:33 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32938

Re: 11151 - Longest Palindrome

here my post again
about "WA"

Code: Select all

AC

by bishop
Tue Aug 19, 2008 4:24 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32938

Re: 11151 - Longest Palindrome

again WA
after editing
by bishop
Sun Aug 17, 2008 4:40 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32938

Re: I still got WA

Here is my trying input 12 ADAM MADAM qweqweqwedadqweqweqwe aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
by bishop
Fri Aug 15, 2008 6:22 am
Forum: Volume 112 (11200-11299)
Topic: 11223 - O: dah dah dah!
Replies: 43
Views: 18892

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[]={".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","-...
by bishop
Sat Aug 04, 2007 9:01 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 36710

check

any one can check this code
all the input output is right
for my code
but why WA
by bishop
Wed Aug 01, 2007 7:43 pm
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 28361

can anyone

CAN anyone tell me what is wrong for
result shows wrong ans

Go to advanced search