Submission #848367

#TimeUsernameProblemLanguageResultExecution timeMemory
848367toma_ariciuMemory (IOI10_memory)C++17
0 / 100
1 ms444 KiB
#include "grader.h" #include "memory.h" #include <iostream> using namespace std; pair <int, int> positions[25]; void play() { for (int i = 1; i <= 50; i++) { char a = faceup(i); int cod = a - 'a'; if (positions[cod].first) { positions[cod].second = i; } else { positions[cod].first = i; } } for (int i = 0; i < 25; i++) { faceup(positions[i].first); faceup(positions[i].second); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...