제출 #365007

#제출 시각아이디문제언어결과실행 시간메모리
365007FalseeeZoo (COCI19_zoo)C++17
컴파일 에러
0 ms0 KiB
{ if(g[i][j] == 'T'){ g[i][j]='B'; }else if(g[i][j]=='B'){ g[i][j]='T'; } } } } int res = 0; F0R(i, n){ F0R(j, m){ if(g[i][j]=='T'){ res=1; break; } } if(res){ break; } } F0R(i, n){ F0R(j, m){ if(g[i][j] =='B' && !vis[i][j]){ flood(i, j);

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

zoo.cpp:1:1: error: expected unqualified-id before '{' token
    1 | {
      | ^
zoo.cpp:8:9: error: expected declaration before '}' token
    8 |         }
      |         ^
zoo.cpp:9:5: error: expected declaration before '}' token
    9 |     }
      |     ^
zoo.cpp:11:8: error: expected constructor, destructor, or type conversion before '(' token
   11 |     F0R(i, n){
      |        ^
zoo.cpp:22:8: error: expected constructor, destructor, or type conversion before '(' token
   22 |     F0R(i, n){
      |        ^