Borderou de evaluare (job #808365)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Șenila (clasa a 6-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 feb. 2025 15:21:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:15:15: error: conflicting types for 'p'; have 'long long int'
15 | long long p = 1;
| ^
main.c:9:15: note: previous declaration of 'p' with type 'int'
9 | int i, j, p, d, kr;
| ^
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d %d %d %d", &s, &z, &k, &a);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d %d %d %d %d", &x, &y, &l, &c, &r);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~