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

#TimeUsernameProblemLanguageResultExecution timeMemory
1103806ThylOneMemory (IOI10_memory)C++14
0 / 100
1 ms336 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; void play() { int mem['Z'+1]; fill(mem,mem+('Z'+1),0); for(int i=1;i<=50;i+=2){ int a = faceup(i); int b = faceup(i+1); if(a!=b){ if(mem[a]==0){ mem[a]=i; }else{ faceup(i); faceup(mem[a]); } if(mem[b]==0){ mem[b]=i+1; }else{ faceup(i); faceup(mem[b]); } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...