Submission #1091008

#TimeUsernameProblemLanguageResultExecution timeMemory
1091008AndreasKCave (IOI13_cave)C++14
Compilation error
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); }

Compilation message (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);
      |         ^