Borderou de evaluare (job #777019)

Utilizator avatar Radu_Balas Radu Andrei Balas Radu_Balas IP ascuns
Problemă Jimjam (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 mai 2024 09:18:21 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:10:1: error: 'fout' was not declared in this scope; did you mean 'cout'? 10 | fout << dif*(c/2)+a<< " "; | ^~~~ | cout main.cpp:12:1: error: 'fout' was not declared in this scope; did you mean 'cout'? 12 | fout << dif*c/2 << " "; | ^~~~ | cout main.cpp:21:1: error: 'fout' was not declared in this scope; did you mean 'cout'? 21 | fout << m-1; | ^~~~ | cout main.cpp:6:5: warning: unused variable 'n' [-Wunused-variable] 6 | int n,a,b,c,d,dif,s=0,m=1; | ^