Submission #110049

#TimeUsernameProblemLanguageResultExecution timeMemory
110049DodgeBallManGame (IOI14_game)C++14
100 / 100
398 ms16404 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; const int N = 15e2 + 10; int cnt[N]; void initialize( int n ) {} int hasEdge( int u, int v ) { if( u < v ) swap( u, v ); cnt[u]++; if( cnt[u] == u ) return 1; else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...