Borderou de evaluare (job #676516)

Utilizator avatar iccjoc Ioan CHELARU Cristian iccjoc IP ascuns
Problemă Colier 1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 nov. 2022 18:58:54 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:8:5: error: expected ',' or ';' before 'ofstream' 8 | ofstream cout("colier1.out") | ^~~~~~~~ main.cpp:10:12: error: 't' was not declared in this scope; did you mean 'tm'? 10 | cin >> t; | ^ | tm main.cpp:11:12: error: 'n' was not declared in this scope 11 | cin >> n; | ^ main.cpp:16:20: error: 'a' was not declared in this scope 16 | cin >> a; | ^ main.cpp:17:13: error: 'b' was not declared in this scope 17 | b=-1; | ^ main.cpp:18:13: error: 'c' was not declared in this scope 18 | c=10; | ^ main.cpp:27:13: error: 'ok' was not declared in this scope 27 | ok=0; | ^~ main.cpp:28:19: error: 'ca' was not declared in this scope 28 | while(ca>0 && ok==0) | ^~ main.cpp:38:17: error: 'cnta' was not declared in this scope 38 | cnta++; | ^~~~ main.cpp:41:17: error: 'cnta' was not declared in this scope 41 | cout << cnta; | ^~~~ main.cpp:48:20: error: 'a' was not declared in this scope 48 | cin >> a; | ^ main.cpp:49:13: error: 'b' was not declared in this scope 49 | b=-1; | ^ main.cpp:50:13: error: 'c' was not declared in this scope 50 | c=10; | ^ main.cpp:59:13: error: 'ok' was not declared in this scope 59 | ok=0; | ^~ main.cpp:60:19: error: 'ca' was not declared in this scope 60 | while(ca>00 && ok==0) | ^~ main.cpp:72:21: error: 'cnt' was not declared in this scope; did you mean 'int'? 72 | cnt++; | ^~~