(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 #235798

#TimeUsernameProblemLanguageResultExecution timeMemory
235798Haunted_CppMemory (IOI10_memory)C++17
100 / 100
7 ms536 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; map< char, vector<char> > card; void play() { const int N = 50; for (int i = 0; i < N; i += 2) { char cur = faceup(i + 1); char nxt = faceup(i + 1 + 1); card[cur].emplace_back(i + 1); card[nxt].emplace_back(i + 1 + 1); } for (auto to : card) { int A = to.second[0]; int B = to.second[1]; faceup(A); faceup(B); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...