Borderou de evaluare (job #549032)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Partiții (clasa a 7-a) | Compilator | c |
Rundă | lasm_26_03_2020_11 | Status | evaluat |
Dată | 26 mar. 2020 15:22:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘f1’:
user.c:7:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:7:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:12:3: warning: implicit declaration of function ‘min’ [-Wimplicit-function-declaration]
user.c:12:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘main’:
user.c:23:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat]
user.c:20:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:21:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:23:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]