Submission #254210

#TimeUsernameProblemLanguageResultExecution timeMemory
254210tatyamMemory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void play(){ vector<char> card(51); for(int i = 1; i <= 50; i++){ card[i] = faceup(i); for(int j = 1; j < i; j++) if(card[i] == card[j]) faceup(j); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:7:19: error: 'faceup' was not declared in this scope
         card[i] = faceup(i);
                   ^~~~~~
memory.cpp:7:19: note: suggested alternative: 'frexp'
         card[i] = faceup(i);
                   ^~~~~~
                   frexp