Borderou de evaluare (job #577079)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Permutări | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 dec. 2020 18:15:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘permute’:
user.c:24:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:28:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:28:9: note: use option -std=c99 or -std=gnu99 to compile your code
user.c: In function ‘print_file’:
user.c:40:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:43:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘main’:
user.c:58:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:65:34: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]