Borderou de evaluare (job #139284)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Consiliu (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 apr. 2015 09:59:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:27: warning: unused variable ‘s’ [-Wunused-variable]
user.c:6:13: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c: At top level:
user.c:19:4: warning: data definition has no type or storage class [enabled by default]
user.c:19:4: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int]
user.c:20:4: error: expected identifier or ‘(’ before ‘for’
user.c:20:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
user.c:20:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
user.c:23:17: error: expected ‘)’ before string constant
user.c:24:4: warning: data definition has no type or storage class [enabled by default]
user.c:24:4: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:24:4: warning: parameter names (without types) in function declaration [enabled by default]
user.c:25:4: warning: data definition has no type or storage class [enabled by default]
user.c:25:4: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:25:4: warning: parameter names (without types) in function declaration [enabled by default]
user.c:26:4: error: expected identifier or ‘(’ before ‘return’
user.c:27:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:10:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:12:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:18:4: warning: control reaches end of non-void function [-Wreturn-type]