제출 #641979

#제출 시각아이디문제언어결과실행 시간메모리
641979meoww게임 (IOI14_game)C++14
0 / 100
1 ms308 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; int nn; map<pair<int,int>,int> con; map<int,int> cnt; void initialize(int n) { nn=n; } int hasEdge(int u, int v) { if (v>u) swap(u,v); cnt[u]++; cnt[v]++; if (cnt[u]==nn-1 || cnt[v]==nn-1) { con[{u,v}]=1; } return con[{u,v}]; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...