Search found 10 matches

by mmij
Sun Oct 30, 2005 7:13 pm
Forum: Volume 109 (10900-10999)
Topic: 10958 - How Many Solutions?
Replies: 17
Views: 5536

can anybody give some sample i/o for the problem????
by mmij
Sun Oct 16, 2005 5:19 am
Forum: Volume 109 (10900-10999)
Topic: 10942 - Can of Beans
Replies: 9
Views: 4546

i used a 32bit int and got acc :lol: . So input will never exceed 32bit integer.
by mmij
Sun Oct 16, 2005 1:00 am
Forum: Volume 109 (10900-10999)
Topic: 10935 - Throwing cards away I
Replies: 15
Views: 9851

thanks Jan. i didn't consider for n=1. now got acc :D :D
by mmij
Sun Oct 16, 2005 12:12 am
Forum: Volume 109 (10900-10999)
Topic: 10935 - Throwing cards away I
Replies: 15
Views: 9851

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 :(
by mmij
Fri Oct 14, 2005 8:02 am
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 51648

thanks tan.
next time i should be careful with spelling :roll:
by mmij
Thu Oct 13, 2005 7:16 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 121043

:lol: :lol: :wink: :wink:
ah!!!!!!!!!!! i'm the winner
:wink: :wink: :wink:
by mmij
Thu Oct 13, 2005 7:04 am
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 51648

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

Code: Select all

//got acc :lol: 
by mmij
Tue Oct 11, 2005 5:36 pm
Forum: Volume 109 (10900-10999)
Topic: 10920 - Spiral Tap
Replies: 12
Views: 6927

thanks ariyan.............got acc :wink:
by mmij
Mon Oct 10, 2005 9:12 pm
Forum: Volume 109 (10900-10999)
Topic: 10920 - Spiral Tap
Replies: 12
Views: 6927

i'm getting wrong answer :cry: . but all the test cases are matching. can anybody help plz??? here goes my code....

Code: Select all

now got acc
by mmij
Mon Jul 11, 2005 7:21 am
Forum: Volume 3 (300-399)
Topic: 343 - What Base Is This?
Replies: 72
Views: 20907

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, flag, max1, max...

Go to advanced search