제출 #1091008

#제출 시각아이디문제언어결과실행 시간메모리
1091008AndreasK동굴 (IOI13_cave)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "cave.h" using namespace std; void exploreCave(int N) { int A[N] = {}; int B[N]; for (int c = 0; c < N; c++) A[c] = c + 1; int x = tryCombination(A); while (x != -1) { A[x - 1] = 1; x = tryCombination(A); } answer(A, B); }

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

cave.cpp:10:30: warning: `\U0000037e' is not in NFC [-Wnormalized=]
   10 |     int x = tryCombination(A);
      |                              ^
cave.cpp:13:30: warning: `\U0000037e' is not in NFC [-Wnormalized=]
   13 |         x = tryCombination(A);
      |                              ^
cave.cpp: In function 'void exploreCave(int)':
cave.cpp:10:30: error: expected ',' or ';' before '\U0000037e'
   10 |     int x = tryCombination(A);
      |                              ^
cave.cpp:10:9: warning: unused variable 'x' [-Wunused-variable]
   10 |     int x = tryCombination(A);
      |         ^