Search found 6 matches

by chicapi
Wed Nov 26, 2003 7:18 am
Forum: Volume 1 (100-199)
Topic: 128 - Software CRC
Replies: 62
Views: 9094

from Presentation Error to Accepted...

They always have a trick.

You should have noticed that hexa numbers in the output are in UPPER case and C printfs them is lower case...

then you get AC!! :D
by chicapi
Thu Aug 21, 2003 5:59 pm
Forum: Volume 104 (10400-10499)
Topic: 10452 - Marcus
Replies: 21
Views: 10412

Oh, you are lucky...!!!! I always make silly mistakes.... hehe :wink:
by chicapi
Wed Aug 20, 2003 6:31 am
Forum: Volume 104 (10400-10499)
Topic: 10452 - Marcus
Replies: 21
Views: 10412

:o Careful with this:
[cpp]if(grid[0][j]=='@')[/cpp]
You should check if [cpp]if(grid[m-1][j]=='@')[/cpp]
'@' is in the last row. :wink:
by chicapi
Mon Aug 18, 2003 9:27 pm
Forum: Volume 104 (10400-10499)
Topic: 10427 - Naughty Sleepy Boys
Replies: 35
Views: 22034

I got the same error with another problem, so I figured out!!!
[cpp]pp = fgets(s,100,stdin);
if (pp== NULL) return 0;
sscanf (s,"%ld",&n);[/cpp]
That was the problem... I didn't break the rutine if there was no input...
Thank you all... :wink:
by chicapi
Sat Aug 16, 2003 6:23 pm
Forum: Volume 104 (10400-10499)
Topic: 10427 - Naughty Sleepy Boys
Replies: 35
Views: 22034

dont kill me plz

maybe in windows it's different (?) because I have no problem with this:

[cpp]long int n;
scanf("%d",&n);[/cpp]

thank you. :D
by chicapi
Fri Aug 15, 2003 10:48 pm
Forum: Volume 104 (10400-10499)
Topic: 10427 - Naughty Sleepy Boys
Replies: 35
Views: 22034

output limit?!

I found an easy way to calculate the answer... BUTTTT... Your program output is greater (4236247 bytes) than the maximum allowed for any problem by this judge (4194304 bytes). You must interprete this as a Wrong Answer (in fact, is wrong!). By some reason your program is writing an unlimited output....

Go to advanced search