Borderou de evaluare (job #605063)

Utilizator avatar Mihai_Ariton Mihai Ariton Mihai_Ariton IP ascuns
Problemă Cavaleri (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 31 aug. 2021 14:38:00 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:56:5: error: 'cout' undeclared (first use in this function); did you mean 'fout'? 56 | cout<<k<<" "<<maxnr+1; | ^~~~ | fout main.c:56:5: note: each undeclared identifier is reported only once for each function it appears in main.c:12:36: warning: unused variable 'cs' [-Wunused-variable] 12 | int n, x, a, s=0, nr=0, cnt=0, cs, maxnr=2100000000, t=0, k; | ^~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d", &x, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~