제출 #123044

#제출 시각아이디문제언어결과실행 시간메모리
123044win11905게임 (IOI14_game)C++11
100 / 100
367 ms7416 KiB
int c[1500];void initialize(int){}int hasEdge(int u,int v){return++c[u=u>v?u:v]==u;}

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

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