#include "grader.h"
#include <iostream>
using namespace std;
pair <int, int> positions[25];
void play() {
for (int i = 1; i <= 50; i++) {
char a = faceup(i);
int cod = a - 'a';
if (positions[cod].first) {
positions[cod].second = i;
}
else {
positions[cod].first = i;
}
}
for (int i = 0; i < 25; i++) {
faceup(positions[i].first);
faceup(positions[i].second);
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
1 ms |
436 KB |
Execution killed with signal 11 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
1 ms |
432 KB |
Execution killed with signal 11 |
2 |
Halted |
0 ms |
0 KB |
- |