ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1351. Good Gnusmas – Dead Gnusmas

why does it work in pascal and not in c ???? (source)
Posted by radio 15 Apr 2008 07:20
here's in pascal:

my c code:

Edited by author 21.04.2008 03:06
Re: why does it work in pascal and not in c ???? (source)
Posted by Alias aka Alexander Prudaev 15 Apr 2008 10:17
because you use
writeln('YES') and printf("YES") instead
of printf("YES\n");
Re: why does it work in pascal and not in c ???? (source)
Posted by radio 21 Apr 2008 00:43
thank you, hahaha, i feel dumb.....