제출 #470758

#제출 시각아이디문제언어결과실행 시간메모리
470758PiejanVDCGame (IOI14_game)C++17
100 / 100
364 ms16344 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; vector<int>cnt; int hasEdge(int u, int v) { if(++cnt[max(u,v)] == max(u,v)) return 1; return 0; } void initialize(int n) { cnt.resize(n); for(auto &z : cnt) z=0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...