Submission #866191

#TimeUsernameProblemLanguageResultExecution timeMemory
866191lomtaMemory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void play() { map<char,vector<int> > mp; for (int i=1; i<=50; ++i) { char ch=faceup(i); mp[ch].push_back(i); } for(char i='A'; i<='Z';i++){ faceup(mp[i][0]); faceup(mp[i][1]); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:8:16: error: 'faceup' was not declared in this scope
    8 |        char ch=faceup(i);
      |                ^~~~~~
memory.cpp:13:6: error: 'faceup' was not declared in this scope
   13 |      faceup(mp[i][0]);
      |      ^~~~~~