Submission #419159

#TimeUsernameProblemLanguageResultExecution timeMemory
419159AugustinasJucasHorses (IOI15_horses)C++14
Compilation error
0 ms0 KiB
int updateY(int pos, int val) { tree.changeY(1, pos, pos, val); return get(); }

Compilation message (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();
      |         ^~~