Submission #254211

#TimeUsernameProblemLanguageResultExecution timeMemory
254211tatyamMemory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #include "memory.h" 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:8:19: error: 'faceup' was not declared in this scope
         card[i] = faceup(i);
                   ^~~~~~
memory.cpp:8:19: note: suggested alternative: 'frexp'
         card[i] = faceup(i);
                   ^~~~~~
                   frexp