Submission #577877

#TimeUsernameProblemLanguageResultExecution timeMemory
577877BelguteiGame (IOI14_game)C++17
100 / 100
306 ms7016 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define ff first #define ss second #define pb push_back #define mk make_pair int cnt[5000]; void initialize(int N) { return; } int hasEdge(int u, int v) { if(u > v) swap(u,v); // u <= v cnt[v] ++; if(cnt[v] == v) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...