Borderou de evaluare (job #184823)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | La coadă | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 ian. 2016 23:34:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘rmv’:
user.c:6:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:6:2: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:10:10: error: redefinition of ‘i’
user.c:6:10: note: previous definition of ‘i’ was here
user.c:10:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘shiftare’:
user.c:26:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘main’:
user.c:42:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:47:10: error: redefinition of ‘i’
user.c:42:10: note: previous definition of ‘i’ was here
user.c:47:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:69:10: error: redefinition of ‘i’
user.c:47:10: note: previous definition of ‘i’ was here
user.c:69:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:33:22: warning: variable ‘out’ set but not used [-Wunused-but-set-variable]
user.c:39:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:50:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:63:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:74:1: warning: control reaches end of non-void function [-Wreturn-type]