Submission #1275736

#TimeUsernameProblemLanguageResultExecution timeMemory
1275736marckvMemory (IOI10_memory)C++20
100 / 100
2 ms404 KiB
#include <bits/stdc++.h> using namespace std; // Provided by the grader (you don’t implement this) char faceup(int position); // You must implement this void play() { unordered_map<char, vector<int>> seen; for (int i=1; i<=50; i++) { char card = faceup(i); seen[card].push_back(i); } for (auto const& [ch, vec] : seen) { for (int x : vec) { faceup(x); } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...