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

#TimeUsernameProblemLanguageResultExecution timeMemory
319376Dan4LifeMemory (IOI10_memory)C++17
100 / 100
2 ms512 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; void play(){ map<char, int> M, N; for(int i = 1; i <= 50; i+=2) { char a = faceup(i), b = faceup(i+1); if(M[a]>=1) N[a]=i; else M[a]=i; if(M[b]>=1) N[b]=i+1; else M[b]=i+1; } for(char i = 'A'; i < 'Z'; i++) faceup(M[i]), faceup(N[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...