Submission #344400

#TimeUsernameProblemLanguageResultExecution timeMemory
344400AlmaMemory (IOI10_memory)C++14
0 / 100
1 ms364 KiB
#include <grader.h> #include <memory.h> #include <iostream> #include <vector> using namespace std; void play() { vector<int> card_1; card_1.assign(25, 0); vector<int> card_2; card_2.assign(25, 0); for (int i = 1; i <= 50; i++) { int position = faceup(i) - 56; if (card_1[position] == 0) {card_1[position] = i;} else {card_2[position] = i;} } for (int j = 0; j < 25; j++) { faceup(card_1[j]); faceup(card_2[j]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...