Borderou de evaluare (job #406526)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Carti | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 dec. 2018 18:57:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘get_combinations_of_books’:
user.c:17:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:17:9: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:19:17: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘read_array_from_file’:
user.c:45:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘main’:
user.c:60:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c: In function ‘read_array_from_file’:
user.c:46:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]