Borderou de evaluare (job #144615)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Trei cifre consecutive | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 mai 2015 14:09:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:13:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:13:13: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:25:21: error: redefinition of ‘i’
user.c:13:21: note: previous definition of ‘i’ was here
user.c:25:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:37:21: error: redefinition of ‘i’
user.c:25:21: note: previous definition of ‘i’ was here
user.c:37:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:49:21: error: redefinition of ‘i’
user.c:37:21: note: previous definition of ‘i’ was here
user.c:49:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:61:21: error: redefinition of ‘i’
user.c:49:21: note: previous definition of ‘i’ was here
user.c:61:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:73:21: error: redefinition of ‘i’
user.c:61:21: note: previous definition of ‘i’ was here
user.c:73:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:18:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:30:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:42:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:54:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:66:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:78:31: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]