QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#34683#4251. Gamehyforces#Compile Error//C++201.3kb2022-06-12 04:42:152024-04-28 07:07:10

Details

answer.code:61:6: error: ambiguating new declaration of ‘bool add_teleporter(int, int)’
   61 | bool add_teleporter(int u, int v) {
      |      ^~~~~~~~~~~~~~
In file included from answer.code:2:
game.h:2:5: note: old declaration ‘int add_teleporter(int, int)’
    2 | int add_teleporter(int u, int v);
      |     ^~~~~~~~~~~~~~