Search found 74 matches

by Chirag Chheda
Sun Jan 11, 2009 9:28 am
Forum: Volume 115 (11500-11599)
Topic: 11569 - Lovely Hint
Replies: 8
Views: 1794

Re: 11569 - Lovely Hint

Can someone please reply. :) I have got lots of WA on this prob :cry:
by Chirag Chheda
Sat Jan 10, 2009 1:44 pm
Forum: Volume 115 (11500-11599)
Topic: 11567 - Moliu Number Generator
Replies: 13
Views: 3974

Re: 11567 - Moliu Number Generator

If you are checking all the possible ways then you will surely get a TLE. Just follow the method described above
by Chirag Chheda
Fri Jan 09, 2009 6:58 am
Forum: Volume 115 (11500-11599)
Topic: 11569 - Lovely Hint
Replies: 8
Views: 1794

Test Cases Needed

Can someone please post some more test cases for this problem. I used a simple DFS in it. i am getting a WA for it and i am unable to find it out. Thanking you in advance.

Here's my code.

Code: Select all

Removed
by Chirag Chheda
Tue Sep 30, 2008 8:47 am
Forum: Volume 7 (700-799)
Topic: 776 - Monkeys in a Regular Forest
Replies: 51
Views: 18410

Re: 776 - Monkeys in a Regular Forest

I have got loads of PE on this problem can any1 plz tell me the correct output format of this input Input: a s d f g h j k l q w Output1 1 2 3 4 5 6 7 8 9 10 11 % Output2: 1<-there is a space before every 1 digit number 2 3 4 5 6 7 8 9 10 11 Any help is appreciated. Thnx in advance
by Chirag Chheda
Mon Sep 29, 2008 9:15 am
Forum: Volume 114 (11400-11499)
Topic: 11491 - Erasing and Winning
Replies: 14
Views: 6278

Re: 11491 - Erasing and Winning

Can someone please post some more test cases. My code is posted above. I have passes all the test cases posted here but unable to get an ACC
by Chirag Chheda
Fri Sep 26, 2008 10:41 am
Forum: Volume 114 (11400-11499)
Topic: 11491 - Erasing and Winning
Replies: 14
Views: 6278

Re: 11491 - Erasing and Winning

Can someone please help me on this question. I have passed all the test cases posted here on the forum but still getting a WA.Please help me. :oops: #include<iostream> #include<cmath> using namespace std; int main() { int n,d,i,j,k,p,mi; char c; bool f; while(scanf("%d %d",&n,&d)==2 && n && d) { cha...
by Chirag Chheda
Mon Sep 22, 2008 8:04 am
Forum: Volume 109 (10900-10999)
Topic: 10908 - Largest Square
Replies: 37
Views: 19517

Re: 10908 - Largest Square

Plz help me.. I am unable 2 get an ACC for this simple problem.
Any help is appreciated.
by Chirag Chheda
Mon Sep 15, 2008 9:54 am
Forum: Volume 109 (10900-10999)
Topic: 10908 - Largest Square
Replies: 37
Views: 19517

Re: 10908 - Largest Square

Can someone plz reply or post some input output data so that i can check my code..

thnx in advance!!
by Chirag Chheda
Fri Sep 12, 2008 5:46 am
Forum: Volume 5 (500-599)
Topic: 516 - Prime Land
Replies: 23
Views: 6477

Re: 516

Please look at the above post that i had made in this topic regarding PE. Hope it helps. Let me know if it still shows PE
by Chirag Chheda
Sat Sep 06, 2008 10:08 am
Forum: Volume 109 (10900-10999)
Topic: 10908 - Largest Square
Replies: 37
Views: 19517

Re: 10908 - Largest Square

Can someone please help me on this question. I dont know where is the bug in my solution.The judge always shows WA though i have passed all the test cases posted here in the forum. #include<iostream> using namespace std; int main() { int t,m,n,q,i,j,k,x,y; char c; bool f; scanf("%d",&t); while(t--) ...
by Chirag Chheda
Wed Jul 02, 2008 2:16 pm
Forum: Volume 113 (11300-11399)
Topic: 11349 - Symmetric Matrix
Replies: 43
Views: 19024

Re: 11349 - Symmetric Matrix

Can u tell me y r u printing this line???

Code: Select all

printf("N = ");
I think that's shud be in the input part and not the output part.

change it to:-

Code: Select all

scanf("%c%c",&c,&c);
declare 'c' to be of char data type
by Chirag Chheda
Wed Jul 02, 2008 8:24 am
Forum: Volume 113 (11300-11399)
Topic: 11362 - Phone List
Replies: 19
Views: 8934

Re: 11362 - Phone List

Even i m getting TLE.
can neone who has got ACC jus tell me whether i should sort the numbers on the basis of their length and then start searching..
Thnx in advance.

Waiting for a reply..
by Chirag Chheda
Tue Jul 01, 2008 11:32 am
Forum: Volume 101 (10100-10199)
Topic: 10196 - Check The Check
Replies: 77
Views: 23329

Re: 10196 - Check The Check

Thanx a lot frnd.
Ur test cases were really very helpful.
I found my mistake and got ACC.
by Chirag Chheda
Tue Jul 01, 2008 8:16 am
Forum: Volume 101 (10100-10199)
Topic: 10196 - Check The Check
Replies: 77
Views: 23329

Re: 10196 - Check The Check

Can someone who has got ACC plz post some more test cases so that i can rectify my error.
Also, I think that the test cases provided by CodeMaker are not il-legal as posted int the above post.
Let me know if i m wrong.
Thanking you in advance.

Waiting for a reply.
Bye
by Chirag Chheda
Mon Jun 30, 2008 11:00 am
Forum: Bugs and suggestions
Topic: 11087 - Divisibility Testing
Replies: 18
Views: 6244

Re: 11087 - Divisibility Testing

@ the moderator

can u plz tell when will my solutions be judged??

Go to advanced search