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

#TimeUsernameProblemLanguageResultExecution timeMemory
463371tengiz05Memory (IOI10_memory)C++17
100 / 100
4 ms272 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> void play() { std::vector<int> v[26]; for (int i = 0; i < 50; i++) { char c = faceup(i + 1); v[c - 'A'].push_back(i); } for (int i = 0; i < 25; i++) { assert(v[i].size() == 2); assert(faceup(v[i][0] + 1) == faceup(v[i][1] + 1)); } return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...