Borderou de evaluare (job #674615)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Iepuraș2 (clasa a 5-a) | Compilator | c-32 |
Rundă | ONI_ONI | Status | evaluat |
Dată | 7 nov. 2022 19:34:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:8:19: error: conflicting types for 'p10'; have 'long long int'
8 | long long s , p10;
| ^~~
main.c:7:43: note: previous declaration of 'p10' with type 'int'
7 | int n , cer , a , i , j , max , min , p10 , ca , control;
| ^~~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf( fin , "%d%d" , &cer, &n );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf ( fin , "%d" , &a);
| ^~~~~~~~~~~~~~~~~~~~~~~~~