Borderou de evaluare (job #2856117)

Utilizator AndreiMLCChesauan Andrei AndreiMLC Data 23 februarie 2022 13:06:54
Problema Admitere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:1: error: 'g' does not name a type 11 | g.open() | ^ main.cpp: In function 'int main()': main.cpp:22:14: error: 'r' was not declared in this scope 22 | f >> r[i].real; | ^ main.cpp:25:14: error: 'r' was not declared in this scope 25 | f >> r[i].uman; | ^ main.cpp:28:14: error: 'u' was not declared in this scope 28 | f >> u[i].real >> u[i].uman; | ^ main.cpp:30:28: error: 'r' was not declared in this scope 30 | if(u[i].real > r[j].real){ | ^ main.cpp:41:22: error: 'r' was not declared in this scope 41 | if(u[i].real>r[m].real){ | ^ main.cpp:56:14: error: expected ';' before 'return' 56 | g.close() | ^ | ; 57 | return 0; | ~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?