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

#TimeUsernameProblemLanguageResultExecution timeMemory
551210krit3379Memory (IOI10_memory)C++17
100 / 100
4 ms284 KiB
#include<bits/stdc++.h> using namespace std; #include "memory.h" #include "grader.h" #define N 26 vector<int> v[N]; void play(){ int i; for(i=1;i<=50;i+=2){ char a,b; a=faceup(i); b=faceup(i+1); if(a!=b)v[a-'A'].push_back(i),v[b-'A'].push_back(i+1); } for(i=0;i<26;i++)if(v[i].size())faceup(v[i][0]),faceup(v[i][1]); return ; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...