제출 #574420

#제출 시각아이디문제언어결과실행 시간메모리
574420talant117408게임 (IOI14_game)C++17
100 / 100
315 ms16308 KiB
#include "game.h" #include <bits/stdc++.h> #ifndef EVAL #include "grader.cpp" #endif using namespace std; int N; void initialize(int n) { N = n; } int c[1503]; int hasEdge(int u, int v) { if (u < v) swap(u, v); auto flag = (c[u] == u-1); c[u]++; return flag; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...