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

#TimeUsernameProblemLanguageResultExecution timeMemory
212496T0p_Memory (IOI10_memory)C++14
100 / 100
7 ms512 KiB
#include<bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std; #define pb push_back int mark[55]; char c[55]; void play() { for(int i=1 ; i<=50 ; i++) { c[i] = faceup(i); } memset(mark, 0, sizeof mark); for(int i=1 ; i<=50 ; i++) { if(mark[i]) continue ; for(int j=i+1 ; j<=50 ; j++) { if(mark[j]) continue ; if(c[i] == c[j]) { faceup(i), faceup(j); } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...