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

#TimeUsernameProblemLanguageResultExecution timeMemory
405114AntekbMemory (IOI10_memory)C++14
100 / 100
3 ms296 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; void play() { vector<pair<int, int>> V; for(int i=1; i<=25; i++){ V.push_back({faceup(2*i-1), 2*i-1}); V.push_back({faceup(2*i), 2*i}); } sort(V.begin(), V.end()); for(int i=0; i<25; i++){ faceup(V[2*i].second); faceup(V[2*i+1].second); //cout<<V[2*i].first<<V[2*i+1].first<<"\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...