Borderou de evaluare (job #642637)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ktlon (clasa a 5-a) | Compilator | c-32 |
Rundă | Tema 33 clasa a 5-a | Status | evaluat |
Dată | 20 mar. 2022 23:22:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:27:16: error: expected ';' before '}' token
27 | nr1++
| ^
| ;
28 | }
| ~
main.c:10:73: warning: variable 'poz' set but not used [-Wunused-but-set-variable]
10 | int c, n, k, i, j, p, maxpf, maxpr, cr, s1, s2, m, nr1, nr2, j2, s, poz,maxp;
| ^~~
main.c:10:53: warning: variable 'm' set but not used [-Wunused-but-set-variable]
10 | int c, n, k, i, j, p, maxpf, maxpr, cr, s1, s2, m, nr1, nr2, j2, s, poz,maxp;
| ^
main.c:10:49: warning: unused variable 's2' [-Wunused-variable]
10 | int c, n, k, i, j, p, maxpf, maxpr, cr, s1, s2, m, nr1, nr2, j2, s, poz,maxp;
| ^~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(in, "%d%d%d" ,&c ,&n ,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(in, "%d" ,&p);
| ^~~~~~~~~~~~~~~~~~~~
main.c:34:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
34 | fscanf(in, "%d" ,&p);
| ^~~~~~~~~~~~~~~~~~~~