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

#TimeUsernameProblemLanguageResultExecution timeMemory
495524PiejanVDCMemory (IOI10_memory)C++17
100 / 100
4 ms328 KiB
#include <bits/stdc++.h> using namespace std; #include "grader.h" #include "memory.h" void play() { map<int,int>f,s; for(int i = 1 ; i <= 50 ; i+=2) { char ff = faceup(i); if(!f.count(ff)) { f[ff] = i; } else { s[ff] = i; } char ss = faceup(i+1); if(!f.count(ss)) { f[ss] = i+1; } else { s[ss] = i+1; } } char c = 'A'; for(int i = 0 ; i < 25 ; i++) { faceup(f[c]),faceup(s[c]); c++; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...