Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

#define online judge in cpp

#ifndef ONLINE_JUDGE
  freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);
#endif // ONLINE_JUDGE
Source by discuss.codechef.com #
 
PREVIOUS NEXT
Tagged: #online #judge #cpp
ADD COMMENT
Topic
Name
9+1 =