제출 #1006491

#제출 시각아이디문제언어결과실행 시간메모리
1006491makanhulia게임 (IOI14_game)C++17
0 / 100
1 ms2396 KiB
#include<bits/stdc++.h> using namespace std; int n, deg[1505], vis[1505][1505]; void initialize(int n) { for(int i=1; i<=n; i++) { deg[i]=n-1; } } bool hasEdge(int u, int v) { // if(u>v)swap(u, v); deg[u]--;deg[v]--; if(min(deg[u], deg[v])==0) { return true; } else { return false; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...