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

#TimeUsernameProblemLanguageResultExecution timeMemory
344418AlmaMemory (IOI10_memory)C++14
100 / 100
3 ms492 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) - 'A'; 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...