Submission #1041677

#TimeUsernameProblemLanguageResultExecution timeMemory
1041677kheiraMemory (IOI10_memory)C++14
Compilation error
0 ms0 KiB
#include "grader.h" #include "memory.h" #include <map> using namespace std; void solve(){ map<char,int> Cards; for (int C = 1; C <= 50; ++C){ char letterCard = faceup(C); if (Cards.find(letterCard) != Cards.end()) { int matchedCard = Cards[letterCard]; faceup(matchedCard); faceup(C); return; } else { Cards[letterCard] = C; } } }

Compilation message (stderr)

/usr/bin/ld: /tmp/cciv7Qaf.o: in function `main':
grader.cpp:(.text.startup+0x2f): undefined reference to `play()'
collect2: error: ld returned 1 exit status