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

Common Board

ToAdmins: Why Compilation Error?
Posted by Seyyed Mehran Kholdi (HalfBloodCoder) 6 Aug 2008 13:46
I got Compilation Error on Problem 1157. but the program compiles on my PC successfully.
064d5c7e-c5a2-44ff-8281-b4da9295d8af
064d5c7e-c5a2-44ff-8281-b4da9295d8af(23): error: declaration may not appear after executable statement in block
      int m,n,k,l,found;
      ^

compilation aborted for 064d5c7e-c5a2-44ff-8281-b4da9295d8af (code 2)

ID:
2187407  ->  Compilation Error
2187409  ->  Compilation Error
2187411  ->  Accepted
Try to submit solution choosing C++ instead of C
Posted by Vladimir Yakovlev (USU) 7 Aug 2008 01:32
Re: Try to submit solution choosing C++ instead of C
Posted by Seyyed Mehran Kholdi (HalfBloodCoder) 12 Aug 2008 10:27
So, shall I know why is it like this?