Borderou de evaluare (job #397649)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Carti | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 oct. 2018 18:23:00 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:17:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
user.c: In function ‘readData’:
user.c:60:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:60:2: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:62:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat]
user.c: In function ‘checkCombination’:
user.c:74:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:87:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c: In function ‘readData’:
user.c:42:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:62:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]