Borderou de evaluare (job #128669)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifra | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 mar. 2015 07:42:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:27:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat]
user.c:29:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat]
user.c:38:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat]
user.c:41:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat]
user.c:44:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat]
user.c:50:1: warning: statement with no effect [-Wunused-value]
user.c:51:1: error: expected ‘;’ before ‘}’ token
user.c:52:1: warning: statement with no effect [-Wunused-value]
user.c:53:1: error: expected ‘;’ before ‘fclose’
user.c:54:1: warning: statement with no effect [-Wunused-value]
user.c:55:1: error: expected ‘;’ before ‘fclose’
user.c:56:1: warning: statement with no effect [-Wunused-value]
user.c:57:1: error: expected ‘;’ before ‘return’
user.c:58:1: warning: statement with no effect [-Wunused-value]
user.c:59:1: error: expected ‘;’ before ‘}’ token
user.c: At top level:
user.c:60:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:12:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:59:1: warning: control reaches end of non-void function [-Wreturn-type]