# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1216560 | adriines06 | 게임 (IOI14_game) | C++20 | 180 ms | 7028 KiB |
#include "game.h"
#include<bits/stdc++.h>
using namespace std;
int N;
vector<int>e;
void initialize(int n) {
N=n;
e.assign(N,0);
}
int hasEdge(int u, int v) {
if(u>v) swap(u,v);
e[u]++;
if(e[u]==N-u-1) return 1;
else return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |