Submission #734047

#TimeUsernameProblemLanguageResultExecution timeMemory
734047guagua0407Game (IOI14_game)C++17
100 / 100
302 ms16372 KiB
#include<bits/stdc++.h> using namespace std; const int mxn=1505; int cnt[mxn]; void initialize(int N){ memset(cnt,0,sizeof(cnt)); } int hasEdge(int a, int b){ if(a>b) swap(a,b); cnt[b]++; if(cnt[b]==b) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...