Submission #868136

#TimeUsernameProblemLanguageResultExecution timeMemory
868136dpsaveslivesGame (IOI14_game)C++17
100 / 100
254 ms18764 KiB
#include <bits/stdc++.h> using namespace std; vector<int> cnt; void initialize(int n){ cnt = vector<int>(n,0); } int hasEdge(int u, int v){ if(++cnt[max(u,v)] == max(u,v)) return 1; else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...