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"
using namespace std;
#include "memory.h"
void play() {
int pos[100] = {};
for(int i = 1; i <= 50; i++) {
int card = faceup(i);
if(pos[card] == 0) pos[card] = i, faceup(i % 50 + 1);
else faceup(pos[card]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |