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

#TimeUsernameProblemLanguageResultExecution timeMemory
390892SortingMemory (IOI10_memory)C++17
100 / 100
4 ms316 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; const int N = 50; void play() { int a[N + 1]; for(int i = 1; i <= N; ++i) a[i] = faceup(i); for(int i = 1; i <= N; ++i){ for(int j = i + 1; j <= N; ++j){ if(a[i] == a[j]){ faceup(i); faceup(j); } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...