Borderou de evaluare (job #698500)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Portocal (clasa a 7-a) | Compilator | c-32 |
Rundă | Tema 19 clasa a 6-a | Status | evaluat |
Dată | 23 feb. 2023 18:26:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:6:19: error: conflicting types for 'poz'; have 'long long int'
6 | long long int poz;
| ^~~
main.c:5:21: note: previous declaration of 'poz' with type 'int'
5 | int n, k, p, i, poz;
| ^~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin, "%d%d%d", &n, &k, &p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~