제출 #306643

#제출 시각아이디문제언어결과실행 시간메모리
306643juggernautGame (IOI14_game)C++14
0 / 100
0 ms256 KiB
#include"game.h"
int a[9999],n;
void initialize(int N){n=N;}
int hasEdge(int x,int y){
  	a[x]++;
  	a[y]++;
  	if(a[x]==n-1){
      	a[y]=-n;
      	return 1;
    }
  	if(a[y]==n-1){
      	a[x]=-n;
      	return 1;
    }
  	return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...