Borderou de evaluare (job #799158)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Maraton (clasa a 7-a) | Compilator | c-32 |
Rundă | Concurs 04 | IQ Academy | clasa a 6-a | Status | evaluat |
Dată | 7 dec. 2024 18:51:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:3:1: warning: data definition has no type or storage class
3 | c[5000];
| ^
main.c:3:1: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
main.c: In function 'main':
main.c:10:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d%d",&n,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d",&a);
| ^~~~~~~~~~~~~~~~~~~