Submission #1299193

#TimeUsernameProblemLanguageResultExecution timeMemory
1299193martin_011Game (IOI14_game)C++20
0 / 100
1 ms344 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define vi vector<int> #define vll vector<ll> #define str string #define vd void #define vb vector<bool> #define F first #define S second #define lbr '\n' #define all(x) x.begin(), x.end() const ll INF = 1E15; const ll mod = 1000000007; vll g; void initialize(int n) { g.assign(n, n-1); } int hasEdge(int u, int v) { if (g[u] == 1 || g[v] == 1) return 1; g[u]--; g[v]--; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...