제출 #1216673

#제출 시각아이디문제언어결과실행 시간메모리
1216673lizi14동굴 (IOI13_cave)C++20
컴파일 에러
0 ms0 KiB
#include "cave.h" #include <bits/stdc++.h> using namespace std; void exploreCave(int N) { int x[N]; int s[N]; fill(s,s+N,0); fill(x,x+N,0); int an=0; while(true){ int a=tryCombination(x); if(a==-1){ break; } if(a>an){ for(int i=0; i<an; i++){ if(s[i]!=x[i]){ s[i]=x[i]; } } a=an-1; } else x[a]=1-x[a]; } int c[N]; for(int i=0; i<N; i++)c[i]=i; answer(x, c); }

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

cave.cpp:12:32: warning: `\U0000037e' is not in NFC [-Wnormalized=]
   12 |         int a=tryCombination(x);
      |                                ^
cave.cpp: In function 'void exploreCave(int)':
cave.cpp:12:32: error: expected ',' or ';' before '\U0000037e'
   12 |         int a=tryCombination(x);
      |                                ^