Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Definition of ONLINE_JUDGE macro in Facebook HackerCup

Revision en1, by v01dieJESUZz, 2018-07-09 17:52:31

Hello, Like me, many other C++ coders would use the definition ONLINE_JUDGE in their default code templates to redirect Input/Output depending whether they are run on their local machine or on the Online Judge server. Hence is anyone aware if the ONLINE_JUDGE macro is defined or not in Facebook HackerCup as it would cause 2 of my submissions to automatically fail as in my template Input/Output is redirected to an external file rather than stdin and stdout.

PS : As far as I know, most Online Judges like Codechef or Codeforces have this macro defined but there are site too like HackerRank where there are not defined. Hence I am not sure whether it is defined or not in Facebook HackerCup.

Tags facebook hacker cup

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English v01dieJESUZz 2018-07-09 17:54:02 1 Typo
en1 English v01dieJESUZz 2018-07-09 17:52:31 752 Initial revision (published)