제출 #306352

#제출 시각아이디문제언어결과실행 시간메모리
306352juggernaut게임 (IOI14_game)C++14
100 / 100
419 ms7288 KiB
void initialize(int n){}int a[9999];int hasEdge(int x,int y){return++a[x=x>y?x:y]==x;}

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

game.cpp: In function 'int hasEdge(int, int)':
game.cpp:1:73: warning: operation on 'x' may be undefined [-Wsequence-point]
    1 | void initialize(int n){}int a[9999];int hasEdge(int x,int y){return++a[x=x>y?x:y]==x;}
      |                                                                        ~^~~~~~~~
game.cpp:1:73: warning: operation on 'x' may be undefined [-Wsequence-point]
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...