이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <vector>
#include <map>
#include "grader.h"
#include "memory.h"
using namespace std;
void play() {
map<char, vector<int>> m;
for (int i = 1; i <= 50; i += 2) {
char ch = faceup(i);
m[ch].push_back(i);
ch = faceup(i+1);
m[ch].push_back(i+1);
}
for (auto x : m) {
faceup(x.second[0]);
faceup(x.second[1]);
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |