제출 #419159

#제출 시각아이디문제언어결과실행 시간메모리
419159AugustinasJucasHorses (IOI15_horses)C++14
컴파일 에러
0 ms0 KiB
int updateY(int pos, int val) { tree.changeY(1, pos, pos, val); return get(); }

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

horses.cpp: In function 'int updateY(int, int)':
horses.cpp:2:2: error: 'tree' was not declared in this scope
    2 |  tree.changeY(1, pos, pos, val);
      |  ^~~~
horses.cpp:3:9: error: 'get' was not declared in this scope
    3 |  return get();
      |         ^~~