제출 #1006510

#제출 시각아이디문제언어결과실행 시간메모리
1006510devariaota게임 (IOI14_game)C++17
100 / 100
188 ms8812 KiB
#include <bits/stdc++.h> using namespace std; /* n = 4 0 1 0 2 0 3 1 2 1 3 2 3 */ vector<int> cnt; void initialize(int n) { cnt.resize(n); } int hasEdge(int u, int v) { ++cnt[max(u, v)]; return cnt[max(u, v)] == max(u, v); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...