Borderou de evaluare (job #793851)

Utilizator avatar pannozzo_andrei Pannozzo Andrei pannozzo_andrei IP ascuns
Problemă Mulţimi (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 nov. 2024 12:54:27 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: 'ofstrem' does not name a type 6 | ofstrem fout("multimi.fout"); | ^~~~~~~ main.cpp: In function 'int main()': main.cpp:14:9: error: 'i' was not declared in this scope 14 | for(i=1;i<=n;i++){ | ^ main.cpp:22:22: error: expected ';' before '<=' token 22 | for (int i=a,i<=b;i++) | ^~ | ; main.cpp:22:22: error: expected primary-expression before '<=' token 22 | for (int i=a,i<=b;i++) | ^~ main.cpp:23:12: error: 'fout' was not declared in this scope 23 | fout << i<<" "; | ^~~~ main.cpp:25:9: error: 'fout' was not declared in this scope 25 | fout<<"multimea vida" | ^~~~