제출 #142766

#제출 시각아이디문제언어결과실행 시간메모리
142766thecodingwizardGame (IOI14_game)C++11
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; int ct[1500]; void initialize(int N) { F0R(i, N) ct[i] = 0; } int hasEdge(int u, int v) { return ++ct[max(u, v)] == max(u, v); }

컴파일 시 표준 에러 (stderr) 메시지

game.cpp: In function 'void initialize(int)':
game.cpp:7:9: error: 'i' was not declared in this scope
     F0R(i, N) ct[i] = 0;
         ^
game.cpp:7:5: error: 'F0R' was not declared in this scope
     F0R(i, N) ct[i] = 0;
     ^~~