Submission #637469

#TimeUsernameProblemLanguageResultExecution timeMemory
637469ramMemory (IOI10_memory)C++14
100 / 100
2 ms284 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; #define REP(i, a, b) for (int i = a; i < b; i++) void play() { char memo[60], s; int found; REP(i, 1, 51) memo[i] = faceup(i); REP(i, 1, 26) { found = 0; s = char(i+64); REP(j, 1, 51) { if (memo[j] == s) { faceup(j); found++; } if (found == 2) break; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...