제출 #764197

#제출 시각아이디문제언어결과실행 시간메모리
764197NothingXD미술 수업 (IOI13_artclass)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "artclass.h" using namespace std; mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); int style(int H, int W, int R[500][500], int G[500][500], int B[500][500]) { return rng() % 4 + 1 }

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

artclass.cpp: In function 'int style(int, int, int (*)[500], int (*)[500], int (*)[500])':
artclass.cpp:9:25: error: expected ';' before '}' token
    9 |     return rng() % 4 + 1
      |                         ^
      |                         ;
   10 | }
      | ~