Submission #1013518

#TimeUsernameProblemLanguageResultExecution timeMemory
1013518Error404Game (IOI14_game)C++17
100 / 100
197 ms18960 KiB
#include "bits/stdc++.h" using namespace std; #define ll long long #define f first #define s second #define pi pair<ll,ll> #define vi vector<ll> #define vpi vector<pi> #define pb push_back #define INF 1e18 #define endl '\n' //#define int ll #define pii pair<pi,ll> const int MAX = 1e5+1; vpi g[MAX]; ll dis[MAX][2]; int hold[MAX]; void initialize(int n){ } int hasEdge(int u,int v){ if(u <v) swap(u,v); hold[u]++; if(hold[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...