Submission #761555

#TimeUsernameProblemLanguageResultExecution timeMemory
761555KN200711Game (IOI14_game)C++14
100 / 100
225 ms16304 KiB
#include "game.h" # include <bits/stdc++.h> using namespace std; int cek[1501]; void initialize(int n) { for(int i=0;i<n;i++) { cek[i] = n - i - 1; } } int hasEdge(int u, int v) { if(u > v) swap(u, v); cek[u]--; if(cek[u] == 0) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...