Submission #1013510

#TimeUsernameProblemLanguageResultExecution timeMemory
1013510Error404Game (IOI14_game)C++17
0 / 100
2 ms2652 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){ for(int i = 1; i <=n ; i++){ hold[i] =i; } } int hasEdge(int u,int v){ if(u >v) swap(u,v); if(hold[u]==1) return 1; else{ hold[u]--; return 0; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...