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

#TimeUsernameProblemLanguageResultExecution timeMemory
508727tabrMemory (IOI10_memory)C++17
100 / 100
2 ms328 KiB
#include <bits/stdc++.h> using namespace std; #ifdef tabr #include "library/debug.cpp" #else #define debug(...) #endif char faceup(int); void play() { string a; for (int i = 0; i < 50; i++) { a += faceup(i + 1); } for (int i = 0; i < 50; i++) { for (int j = i + 1 + (i % 2 == 0); j < 50; j++) { if (a[i] == a[j]) { faceup(i + 1); faceup(j + 1); } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...