v01dieJESUZz's blog

By v01dieJESUZz, history, 6 years ago, In English

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 sites too like HackerRank where there are not defined. Hence I am not sure whether it is defined or not in Facebook HackerCup.

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
6 years ago, # |
  Vote: I like it +21 Vote: I do not like it

there is no online judge for FHC, it's all local, except for the finals