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

#TimeUsernameProblemLanguageResultExecution timeMemory
463429EldarMemory (IOI10_memory)C++14
100 / 100
3 ms256 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> void play() { int i; char a[51],b; for (i=1;i<=50;i++) { a[i]=faceup(i); } for(int i=1;i<=50;i++){ if(a[i]!='0'){ b=faceup(i); for(int q=1;q<=50;q++){ if(i!=q&&b==a[q]){ b=faceup(q); a[i]=a[q]='0'; } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...