제출 #240665

#제출 시각아이디문제언어결과실행 시간메모리
240665Coroian_David게임 (IOI14_game)C++11
0 / 100
6 ms384 KiB
#include <iostream> #include "game.h" #define MAX_N 1500 using namespace std; int ap[MAX_N + 1]; void initialize(int n) { for(int i = 1; i <= n; i ++) ap[i] = n - 1; } int hasEdge(int u, int v) { u ++; v ++; ap[u] --; ap[v] --; return (ap[u] == 0 || ap[v] == 0); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...