Submission #764197

#TimeUsernameProblemLanguageResultExecution timeMemory
764197NothingXDArt Class (IOI13_artclass)C++17
Compilation error
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 }

Compilation message (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 | }
      | ~