Borderou de evaluare (job #2274851)

Utilizator BRIOI19Ben Test BRIOI19 Data 2 noiembrie 2018 16:34:56
Problema Ninjago Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int unite(int, int)': main.cpp:36:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'void solvefirst()': main.cpp:94:9: error: 'fin' was not declared in this scope fin>>x>>y; ^~~ main.cpp:111:5: error: 'fout' was not declared in this scope fout<<ans<<endl; ^~~~ main.cpp: In function 'void solvesecond()': main.cpp:118:9: error: 'fin' was not declared in this scope fin>>x>>y; ^~~ main.cpp:158:9: error: 'fout' was not declared in this scope fout<<ans1<<"\n"<<ans2<<endl; ^~~~ main.cpp:160:9: error: 'fout' was not declared in this scope fout<<cost1<<endl; ^~~~ main.cpp: In function 'int main()': main.cpp:165:2: error: 'fin' was not declared in this scope fin>>p>>n>>m; ^~~ main.cpp: In function 'int charval(char)': main.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?