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

#TimeUsernameProblemLanguageResultExecution timeMemory
1116451moonbcw21Memory (IOI10_memory)C++14
100 / 100
3 ms512 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; #define pb push_back int pos[30][2], n[30]; void play(){ for(int i = 1; i <= 50; i++){ char c = faceup(i); pos[(int)c-'A'][n[(int)c-'A']++] = i; } for(int i = 0; i < 25; i++){ faceup(pos[i][0]); faceup(pos[i][1]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...