Borderou de evaluare (job #660620)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere1 (clasa a 5-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 sept. 2022 15:15:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:20:11: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
20 | while(td1 * td1 <= d1 && d1 % td1 != 0)
| ^~~~~
main.c:21:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
21 | td1++;s
| ^
main.c:21:19: error: 's' undeclared (first use in this function)
main.c:21:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:20: error: expected ';' before 'if'
21 | td1++;s
| ^
| ;
22 | if(td1 * td1 > d1){
| ~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(in, "%d" ,&n);
| ^~~~~~~~~~~~~~~~~~~~
main.c:13:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(in, "%d" ,&nr);
| ^~~~~~~~~~~~~~~~~~~~~