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

#TimeUsernameProblemLanguageResultExecution timeMemory
1105794iyedooMemory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; void play() { int candy = 0; for (int i = 1; i <= 50; ++i) { int res1 = faceup(i); for (int j = i + 1; j <= 50; ++j) { int res2 = faceup(j); if (res1 == res2) candy++; if (candy == 25) return; } } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:9:16: error: 'faceup' was not declared in this scope
    9 |     int res1 = faceup(i);
      |                ^~~~~~