Search found 5 matches

by truthSeeker
Mon Sep 10, 2012 12:46 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 77708

Re: 10038 - Jolly Jumpers

ok , i've read through all the 18 pages of this topic and my code passed every test case mentioned here , but it still gives me WA !! so , defiantly i missing something here , but i can't figure out what !! here is the code : #include <iostream> #include <string> #include <cmath> #include <cstring> ...
by truthSeeker
Fri Aug 17, 2012 6:45 am
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 42958

Re: 11340 - Newspaper

finally ,,, it worked !!!
I got ac !!!
thanks for help brianfry713 :)
by truthSeeker
Wed Aug 15, 2012 1:24 am
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 42958

Re: 11340 - Newspaper

it seems that with gcc , istream::sync() doesn't work in the same way it does with VC++2010 ... that's what made the output difference between my snapshot and ideone ... anyway , i got rid of sync() and adjusted the code , and it gave me TLE :( so , I re-wrote the entire code using standard I/O func...
by truthSeeker
Sat Aug 11, 2012 1:52 am
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 42958

Re: 11340 - Newspaper

I guess this input should give the following output :

Code: Select all

3.74$
3.74$
and this is exactly what my code prints !!!
by truthSeeker
Thu Aug 09, 2012 11:21 pm
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 42958

Re: 11340 - Newspaper

I've read all the discussion here ...
my code passes every IO test i know (the one in the problem statement , and the two mentioned here) ...
but still , my code gets WA !!!
i can't get to figure out what the problem is ...
here's my code :

Code: Select all

Updated in a Later post

Go to advanced search