Borderou de evaluare (job #415654)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prâslea ( clasa a 6-a ) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 ian. 2019 21:01:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:39:8: error: ‘else’ without a previous ‘if’
user.c:11:14: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c: At top level:
user.c:51:16: error: expected ‘)’ before string constant
user.c:53:3: warning: data definition has no type or storage class [enabled by default]
user.c:53:3: warning: type defaults to ‘int’ in declaration of ‘j’ [-Wimplicit-int]
user.c:54:3: warning: data definition has no type or storage class [enabled by default]
user.c:54:3: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
user.c:55:3: error: expected identifier or ‘(’ before ‘while’
user.c:65:16: error: expected ‘)’ before string constant
user.c:70:3: warning: data definition has no type or storage class [enabled by default]
user.c:70:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:70:3: warning: parameter names (without types) in function declaration [enabled by default]
user.c:71:3: warning: data definition has no type or storage class [enabled by default]
user.c:71:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:71:3: warning: parameter names (without types) in function declaration [enabled by default]
user.c:73:3: error: expected identifier or ‘(’ before ‘return’
user.c:74:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:15:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:18:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:20:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:50:3: warning: control reaches end of non-void function [-Wreturn-type]