Borderou de evaluare (job #598850)

Utilizator avatar marius.tilea Tilea Marius marius.tilea IP ascuns
Problemă Mărțișoare (clasa a 5-a) Compilator cpp-32
Rundă lasm_20_05_2021_cl11 Status evaluat
Dată 20 mai 2021 15:17:01 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:1: error: 'ofistream' does not name a type 5 | ofistream fo("martisoare.out"); | ^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:20:21: error: 'fo' was not declared in this scope; did you mean 'fi'? 20 | if(x%10<y%10) fo<<x%10<<' '<<y%10<<endl; | ^~ | fi main.cpp:21:13: error: 'fo' was not declared in this scope; did you mean 'fi'? 21 | else fo<<y%10<<' '<<x%10<<endl; | ^~ | fi main.cpp:57:19: error: 'fo' was not declared in this scope; did you mean 'fi'? 57 | if(x%10<y%10) fo<<x%10<<' '<<y%10<<endl; | ^~ | fi main.cpp:58:11: error: 'fo' was not declared in this scope; did you mean 'fi'? 58 | else fo<<y%10<<' '<<x%10<<endl; | ^~ | fi main.cpp:64:11: error: 'fo' was not declared in this scope; did you mean 'fi'? 64 | if(!viz) fo<<"0 0\n"; | ^~ | fi main.cpp:65:2: error: 'fo' was not declared in this scope; did you mean 'fi'? 65 | fo<<maxi<<endl; | ^~ | fi