| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 374631 | Karliver | Memory (IOI10_memory) | C++14 | 3 ms | 492 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "grader.h"
#include "memory.h"
#include <bits/stdc++.h>
const int N = 51;
using namespace std;
void play() {
int tot = 0;
vector<vector<int>> ind(30);
map<char, int> mp;
for(int i = 0;i < 25;++i) {
char f = faceup(i + 1);
char s = faceup(50 - i);
if(f == s) {
++tot;
mp[f] = 1;
}
ind[f - 'A'].push_back(i + 1);
ind[s - 'A'].push_back(50 - i);
}
if(tot == 25) {
return;
}
for(char c = 'A';c <= 'Y';++c) {
if(mp[c])continue;
for(auto p : ind[c - 'A']) {
char ls = faceup(p);
}
++tot;
if(tot == 25) {
return;
}
}
}
컴파일 시 표준 에러 (stderr) 메시지
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
