Submission #1041678

#TimeUsernameProblemLanguageResultExecution timeMemory
1041678kheiraMemory (IOI10_memory)C++14
0 / 100
1 ms344 KiB
#include "grader.h" #include "memory.h" #include <map> using namespace std; void play(){ 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; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...