제출 #716018

#제출 시각아이디문제언어결과실행 시간메모리
716018ovidiush11게임 (IOI14_game)C++14
0 / 100
1 ms304 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; const int N = 1500 + 5; int a[N],n; void initialize(int x) { n = x; return ; } int hasEdge(int u, int v) { a[u]++; a[v]++; if(a[u] >= n-1 || a[v] >= n-1) { a[u] = n-1; a[v] = n-1; return 1; } else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...