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

#TimeUsernameProblemLanguageResultExecution timeMemory
536157timreizinMemory (IOI10_memory)C++17
100 / 100
3 ms284 KiB
#include "grader.h" #include "memory.h" #include <string> using namespace std; void play() { string cards(50, ' '); for (int i = 0; i < 50; ++i) cards[i] = faceup(i + 1); for (int i = 0; i < 50; ++i) { if (cards[i] != ' ') { faceup(i + 1); for (int j = i + 1; j < 50; ++j) { if (cards[i] == cards[j]) { faceup(j + 1); cards[j] = ' '; break; } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...