Codeforces и Polygon могут быть недоступны в период с 6 декабря, 22:00 (МСК) по 7 декабря, 00:00 (МСК) в связи с проведением технических работ. ×

Блог пользователя v01dieJESUZz

Автор v01dieJESUZz, история, 6 лет назад, По-английски

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.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
6 лет назад, # |
  Проголосовать: нравится +21 Проголосовать: не нравится

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