Borderou de evaluare (job #2949942)

Utilizator radu._.21Radu Pelea radu._.21 Data 2 decembrie 2022 13:11:36
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:1: error: ISO C++ forbids declaration of 'lee1' with no type [-fpermissive] 12 | lee1(int i,int j){ | ^~~~ main.cpp: In function 'int lee1(int, int)': main.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type] 29 | } | ^ main.cpp: At global scope: main.cpp:30:1: error: ISO C++ forbids declaration of 'lee2' with no type [-fpermissive] 30 | lee2(int i,int j){ | ^~~~ main.cpp: In function 'int lee2(int, int)': main.cpp:47:1: warning: no return statement in function returning non-void [-Wreturn-type] 47 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?