제출 #170139

#제출 시각아이디문제언어결과실행 시간메모리
170139buttercrabGame (IOI14_game)C++17
100 / 100
371 ms7416 KiB
#import"game.h" int c[2000],i;void initialize(int n){for(;i++<n;)c[i-1]=n-i;}int hasEdge(int u,int v){return!--c[u<v?u:v];}

컴파일 시 표준 에러 (stderr) 메시지

game.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
 #import"game.h"
  ^~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...