Borderou de evaluare (job #558271)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Maxarea | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 iun. 2020 12:21:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:29:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:29:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:40:13: error: redefinition of ‘i’
user.c:29:13: note: previous definition of ‘i’ was here
user.c:40:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:49:13: error: redefinition of ‘i’
user.c:40:13: note: previous definition of ‘i’ was here
user.c:49:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:25:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:30:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]