(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #502148

#TimeUsernameProblemLanguageResultExecution timeMemory
502148dnauxMemory (IOI10_memory)C++17
100 / 100
2 ms272 KiB
#include <bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std;; void play(){ map<char,int> mymp; vector<pair<int,int>> ans; for(int i = 1; i <= 50; i++){ char c = faceup(i); if(mymp[c])ans.push_back(make_pair(mymp[c],i)); else mymp[c] = i; } for(auto i:ans){ faceup(i.first); faceup(i.second); } return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...