Submission #1296446

#TimeUsernameProblemLanguageResultExecution timeMemory
1296446eri16Game (APIO22_game)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;

void init(int n, int k){}

int add_teleporter(int u, int v){
    if (u<v){return 0;}
    else{retunr 1;}
}

Compilation message (stderr)

game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:8:10: error: 'retunr' was not declared in this scope
    8 |     else{retunr 1;}
      |          ^~~~~~
game.cpp:9:1: warning: control reaches end of non-void function [-Wreturn-type]
    9 | }
      | ^