제출 #1147371

#제출 시각아이디문제언어결과실행 시간메모리
1147371TsaganaGame (IOI14_game)C++20
컴파일 에러
0 ms0 KiB
#include "game.h" #include<bits/stdc++.h> void initialize(int n) {} int a[1500] int hasEdge(int u, int v) {return ++a[u>v?u:v] == (u>v?u:v);}

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

game.cpp:5:1: error: expected initializer before 'int'
    5 | int hasEdge(int u, int v) {return ++a[u>v?u:v] == (u>v?u:v);}
      | ^~~