제출 #960400

#제출 시각아이디문제언어결과실행 시간메모리
960400IUA_Hasin게임 (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...