Submission #170139

#TimeUsernameProblemLanguageResultExecution timeMemory
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];}

Compilation message (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...