Search found 10 matches
- Sun Oct 30, 2005 7:13 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10958 - How Many Solutions?
- Replies: 17
- Views: 7887
- Sun Oct 16, 2005 5:19 am
- Forum: Volume 109 (10900-10999)
- Topic: 10942 - Can of Beans
- Replies: 9
- Views: 5686
- Sun Oct 16, 2005 1:00 am
- Forum: Volume 109 (10900-10999)
- Topic: 10935 - Throwing cards away I
- Replies: 15
- Views: 12156
- Sun Oct 16, 2005 12:12 am
- Forum: Volume 109 (10900-10999)
- Topic: 10935 - Throwing cards away I
- Replies: 15
- Views: 12156
10935 - Throwing cards away I
can anybody give me some critical input & output???
should i consider negative value??
can it be n=1??
i've solved this problem using stl queue.....but getting wa
should i consider negative value??
can it be n=1??
i've solved this problem using stl queue.....but getting wa

- Fri Oct 14, 2005 8:02 am
- Forum: Volume 100 (10000-10099)
- Topic: 10070 - Leap Year or Not Leap Year and ...
- Replies: 233
- Views: 83959
- Thu Oct 13, 2005 7:16 am
- Forum: Off topic (General chit-chat)
- Topic: I win !!
- Replies: 361
- Views: 155648
- Thu Oct 13, 2005 7:04 am
- Forum: Volume 100 (10000-10099)
- Topic: 10070 - Leap Year or Not Leap Year and ...
- Replies: 233
- Views: 83959
10070 again!!
hi,
i've read all topics about 10070 and all sample matches with my output....
but still WA?? plz plz plz anybody findout bug in my code or give me some critical input.
tanx
i've read all topics about 10070 and all sample matches with my output....
but still WA?? plz plz plz anybody findout bug in my code or give me some critical input.
tanx
Code: Select all
//got acc :lol:
- Tue Oct 11, 2005 5:36 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10920 - Spiral Tap
- Replies: 12
- Views: 10434
- Mon Oct 10, 2005 9:12 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10920 - Spiral Tap
- Replies: 12
- Views: 10434
i'm getting wrong answer
. but all the test cases are matching. can anybody help plz??? here goes my code....

Code: Select all
now got acc
- Mon Jul 11, 2005 7:21 am
- Forum: Volume 3 (300-399)
- Topic: 343 - What Base Is This?
- Replies: 72
- Views: 28318
343-what base is this? why WA???
here's my cade.............
but getting WA?? plz hlp
#include<stdio.h>
#include<stdlib.h>
int find_max(char *str)
{
int i;
char max;
max = '0';
for(i=0; str ; i++)
{
if(max<str )
max = str ;
}
if(max>='0' && max<='9')
return max-'0'+1;
else
return max-'A'+11;
}
int main()
{
int i, j ...
but getting WA?? plz hlp
#include<stdio.h>
#include<stdlib.h>
int find_max(char *str)
{
int i;
char max;
max = '0';
for(i=0; str ; i++)
{
if(max<str )
max = str ;
}
if(max>='0' && max<='9')
return max-'0'+1;
else
return max-'A'+11;
}
int main()
{
int i, j ...