Borderou de evaluare (job #358444)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Die Hard | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 feb. 2018 21:11:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:7:11: error: variably modified ‘valCioburi’ at file scope
user.c:7:11: error: variably modified ‘valCioburi’ at file scope
user.c:8:14: error: variably modified ‘dp’ at file scope
user.c:8:14: error: variably modified ‘dp’ at file scope
user.c:9:6: error: variably modified ‘dir’ at file scope
user.c:9:6: error: variably modified ‘dir’ at file scope
user.c: In function ‘main’:
user.c:41:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:41:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:42:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:47:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:49:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:54:19: error: redefinition of ‘i’
user.c:49:19: note: previous definition of ‘i’ was here
user.c:54:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:60:19: error: redefinition of ‘i’
user.c:54:19: note: previous definition of ‘i’ was here
user.c:60:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:72:15: error: redefinition of ‘i’
user.c:41:15: note: previous definition of ‘i’ was here
user.c:72:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:36:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:37:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:39:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:43:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]