Submission #115531

#TimeUsernameProblemLanguageResultExecution timeMemory
115531kyaryunhaGame (IOI14_game)C++17
100 / 100
337 ms16392 KiB
#include<bits/stdc++.h> using namespace std; vector<int> cnt; void initialize(int n){ cnt.assign(n,0); } int hasEdge(int u, int v){ int m = u<v?v:u; return (++cnt[m]==m?1:0); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...