This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "grader.h"
#include "memory.h"
#include <map>
#include <utility>
using namespace std;
void play() {
map<char, pair<int, int> > cards;
char letter;
for(int i = 1; i <= 50; i++) {
letter = faceup(i);
if(cards.count(letter) == 0) cards[letter].first = i;
else cards[letter].second = i;
}
for(char c = 'A'; c <= 'Y'; c++) {
faceup(cards[c].first);
faceup(cards[c].second);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |