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

To admins: C# language - please add ONLINE_JUDGE conditional define
Posted by diver[rus] 13 Feb 2007 23:25
Guess there is no predefined ONLINE_JUDGE in C# compiler, because when submit solution with
#if (!ONLINE_JUDGE)
  StreamReader reader = new StreamReader("input.txt");
  ...
#endif
i got Crash 1,
and AC without it.