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

#TimeUsernameProblemLanguageResultExecution timeMemory
440660FEDIKUSMemory (IOI10_memory)C++17
100 / 100
2 ms256 KiB
#include "grader.h" #include "memory.h" const int siz=51; char slova[siz]; bool odg[siz]; void play() { for(int i=1;i<siz;i+=2){ slova[i]=faceup(i), slova[i+1]=faceup(i+1); } for(int i=1;i<siz;i++){ if(odg[i]) continue; for(int j=i+1;j<siz;j++){ if(odg[j]) continue; if(slova[i]!=slova[j]) continue; faceup(i); faceup(j); odg[i]=true; odg[j]=true; break; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...