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

Definition of ONLINE_JUDGE macro in Facebook HackerCup

Правка en2, от v01dieJESUZz, 2018-07-09 17:54:02

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.

Теги facebook hacker cup

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский v01dieJESUZz 2018-07-09 17:54:02 1 Typo
en1 Английский v01dieJESUZz 2018-07-09 17:52:31 752 Initial revision (published)