Submission #1105799

#TimeUsernameProblemLanguageResultExecution timeMemory
1105799iyedooMemory (IOI10_memory)C++17
50 / 100
20 ms560 KiB
#include <bits/stdc++.h> #include <grader.h> using namespace std; void play() { int candy = 0; for (int i = 1; i <= 50; ++i) { for (int j = i + 1; j <= 50; ++j) { int res1 = faceup(i); int res2 = faceup(j); if (res1 == res2) candy++; if (candy == 25) return; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...