Submission #1084078

#TimeUsernameProblemLanguageResultExecution timeMemory
1084078KasymKGame (IOI14_game)C++17
100 / 100
233 ms18380 KiB
#include "bits/stdc++.h" using namespace std; #define ff first #define ss second #define all(v) v.begin(), v.end() #define ll long long #define pb push_back #define pii pair<int, int> #define pli pair<ll, int> #define pll pair<ll, ll> #define tr(i, c) for(auto i = c.begin(); i != c.end(); ++i) #define wr puts("----------------") template<class T>bool umin(T& a,T b){if(a>b){a=b;return 1;}return 0;} template<class T>bool umax(T& a,T b){if(a<b){a=b;return 1;}return 0;} const int N = 2e3; int a[N]; void initialize(int n){ } int hasEdge(int u, int v){ if(u > v){ a[u]++; return a[u] == u; } else{ a[v]++; return a[v] == v; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...