Submission #984586

#TimeUsernameProblemLanguageResultExecution timeMemory
984586SzymonKrzywdaCave (IOI13_cave)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int tryCombination(int S[]); void answer(intS[],int D[]); void exploreCave(int N){ int S[N]; int D[N]; int w = 0; while (w != -1){ w = tryCombination(S); if (w != -1) S[w] = 1; } for (int i=0; i<N; i++){ S[i] = (S[i]+1)%2; D[i] = tryCombination(S); S[i] = (S[i]+1)%2; } answer(S,N); }

Compilation message (stderr)

cave.cpp:5:28: warning: `\U0000037e' is not in NFC [-Wnormalized=]
    5 | int tryCombination(int S[]);
      |                            ^
cave.cpp:6:28: warning: `\U0000037e' is not in NFC [-Wnormalized=]
    6 | void answer(intS[],int D[]);
      |                            ^
cave.cpp:5:28: error: expected initializer before '\U0000037e'
    5 | int tryCombination(int S[]);
      |                            ^