제출 #577630

#제출 시각아이디문제언어결과실행 시간메모리
577630Mazaalai게임 (IOI14_game)C++17
100 / 100
264 ms6948 KiB
#include "game.h" #include <bits/stdc++.h> #define lb lower_bound #define pb push_back #define LINE "------------\n" #define ALL(x) x.begin(),x.end() using namespace std; using PII = pair <int, int>; const int N = 1500; int cnt[N], n; void initialize(int _n) { n = _n; } int hasEdge(int u, int v) { if (u > v) swap(u, v); cnt[v]++; return cnt[v] == v; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...