Submission #231330

#TimeUsernameProblemLanguageResultExecution timeMemory
231330islingrGame (IOI14_game)C++14
100 / 100
372 ms7160 KiB
int d[1500];void initialize(int){}int hasEdge(int u,int v){return++d[u=u>v?u:v]==u;}

Compilation message (stderr)

game.cpp: In function 'int hasEdge(int, int)':
game.cpp:1:71: warning: operation on 'u' may be undefined [-Wsequence-point]
 int d[1500];void initialize(int){}int hasEdge(int u,int v){return++d[u=u>v?u:v]==u;}
                                                                      ~^~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...