Submission #1010618

#TimeUsernameProblemLanguageResultExecution timeMemory
1010618Muaath_5Memory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include "memory.h" #include <bits/stdc++.h> using namespace std; char faceup(int c); vector<int> cc[50]; void play() { for (int i = 1; i <= 50; i++) cc[faceup(i)-'A'].push_back(i); for (int i = 0; i < 50; i++) {assert(int(cc[i].size()) == 2)} }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:11:38: error: expected ';' before '}' token
   11 |       {assert(int(cc[i].size()) == 2)}
      |                                      ^