# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1043984 | dwuy | 경주 (Race) (IOI11_race) | C++14 | 216 ms | 43840 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "race.h"
#include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
typedef pair<int, int> pii;
struct Map{
int sz, id;
vector<int> vis;
vector<int> val;
Map(int n){
this->sz = n;
this->id = 1;
this->vis.assign(n + 5, 0);
this->val.assign(n + 5, 0);
}
void clear(){
id++;
}
void add(int key, int val){
this->vis[key] = id;
this->val[key] = val;
}
int get(int key){
return this->vis[key] == id? this->val[key] : 1e9;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |