Submission #986655

#TimeUsernameProblemLanguageResultExecution timeMemory
986655lyuMemory (IOI10_memory)C++17
100 / 100
1 ms600 KiB
#include "grader.h" #include "memory.h" #include <map> #include <utility> using namespace std; void play() { map<char, pair<int, int> > cards; char letter; for(int i = 1; i <= 50; i++) { letter = faceup(i); if(cards.count(letter) == 0) cards[letter].first = i; else cards[letter].second = i; } for(char c = 'A'; c <= 'Y'; c++) { faceup(cards[c].first); faceup(cards[c].second); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...