Submission #239038

#TimeUsernameProblemLanguageResultExecution timeMemory
239038aggu_01000101Game (IOI14_game)C++14
100 / 100
385 ms16504 KiB
#include <bits/stdc++.h> #include "game.h" #define INF 1000000000000000 #define lchild(i) (i*2 + 1) #define rchild(i) (i*2 + 2) #define mid(l, u) ((l+u)/2) #define x(p) p.first #define y(p) p.second #define MOD 998244353 using namespace std; const int N = 1505; int tt[1505]; void initialize(int n){} int hasEdge(int u, int v) { return (++tt[max(u, v)] == max(u, v)); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...