Borderou de evaluare (job #786033)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Burlane | Compilator | cpp-32 | vezi sursa |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 sept. 2024 08:39:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:50:25: warning: pointer to a function used in arithmetic [-Wpointer-arith]
50 | x=exit[x];
| ^
main.cpp:50:25: error: invalid conversion from 'void (*)(int) noexcept' {aka 'void (*)(int)'} to 'int' [-fpermissive]
50 | x=exit[x];
| ~~~~~~^
| |
| void (*)(int) noexcept {aka void (*)(int)}