제출 #717628

#제출 시각아이디문제언어결과실행 시간메모리
717628AnjaJMemory (IOI10_memory)C++14
100 / 100
2 ms280 KiB
#include "grader.h" #include "memory.h" #include <map> void play() { int i; char a; std::map<char, std::pair<int, int> > Pos; for (i=1; i<=50; ++i) { a = faceup(i); if(Pos.count(a)==0) { Pos[a].first = i; } else { Pos[a].second = i; } } for(auto card : Pos) { faceup(card.second.first); faceup(card.second.second); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...