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

#TimeUsernameProblemLanguageResultExecution timeMemory
308974BERNARB01Memory (IOI10_memory)C++17
100 / 100
4 ms384 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { int i; char a, b; vector<char> v(51); for (i = 1; i < 50; i += 2) { a = faceup(i); b = faceup(i + 1); v[i] = a; v[i + 1] = b; } for (i = 1; i < 50; i++) { for (int j = i + 1; j <= 50; j++) { if (v[i] == v[j]) { faceup(i); faceup(j); break; } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...