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

#TimeUsernameProblemLanguageResultExecution timeMemory
229275thtsshz_bgwrswhMemory (IOI10_memory)C++17
100 / 100
6 ms512 KiB
#pragma GCC optimize("Ofast") #include "memory.h" #include "grader.h" #include<stdio.h> #include<vector> #include<algorithm> using namespace std; int num[55]={0}; vector<int> g[55]; void play(){ int i; for(i=1;i<=50;i++){ num[i]=faceup(i)-'A'+1; g[num[i]].emplace_back(i); } for(i=1;i<=25;i++){ faceup(g[i][0]); faceup(g[i][1]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...