Submission #960400

#TimeUsernameProblemLanguageResultExecution timeMemory
960400IUA_HasinGame (IOI14_game)C++17
0 / 100
1 ms500 KiB
#include <bits/stdc++.h> #define endl "\n" #define yeap cout<<"YES"<<endl #define nope cout<<"NO"<<endl #define ll long long using namespace std; #include "game.h" ll cnt, a; void initialize(int n) { cnt = 0; a = n; } int hasEdge(int u, int v) { if(cnt==a-2){ return 0; } else { if(u+1==v || v+1==u){ cnt++; return 1; } else { return 0; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...