Borderou de evaluare (job #202682)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Forma (clasa a 8-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 feb. 2016 08:31:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:11:38: warning: unused variable ‘max’ [-Wunused-variable]
user.c:11:35: warning: unused variable ‘ap’ [-Wunused-variable]
user.c:11:33: warning: unused variable ‘k’ [-Wunused-variable]
user.c:11:29: warning: unused variable ‘nr1’ [-Wunused-variable]
user.c:11:27: warning: unused variable ‘c’ [-Wunused-variable]
user.c:11:25: warning: unused variable ‘j’ [-Wunused-variable]
user.c:11:21: warning: unused variable ‘val’ [-Wunused-variable]
user.c:11:16: warning: unused variable ‘i’ [-Wunused-variable]
user.c:11:13: warning: unused variable ‘nr’ [-Wunused-variable]
user.c:8:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c: At top level:
user.c:21:5: warning: data definition has no type or storage class [enabled by default]
user.c:21:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int]
user.c:22:5: error: expected identifier or ‘(’ before ‘for’
user.c:22:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘>=’ token
user.c:22:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘--’ token
user.c:29:5: warning: data definition has no type or storage class [enabled by default]
user.c:29:5: warning: type defaults to ‘int’ in declaration of ‘c’ [-Wimplicit-int]
user.c:29:5: error: initializer element is not constant
user.c:30:5: warning: data definition has no type or storage class [enabled by default]
user.c:30:5: warning: type defaults to ‘int’ in declaration of ‘nr1’ [-Wimplicit-int]
user.c:31:5: error: expected identifier or ‘(’ before ‘for’
user.c:31:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
user.c:31:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
user.c:53:5: warning: data definition has no type or storage class [enabled by default]
user.c:53:5: warning: type defaults to ‘int’ in declaration of ‘ap’ [-Wimplicit-int]
user.c:54:5: warning: data definition has no type or storage class [enabled by default]
user.c:54:5: warning: type defaults to ‘int’ in declaration of ‘max’ [-Wimplicit-int]
user.c:55:5: error: expected identifier or ‘(’ before ‘for’
user.c:55:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
user.c:55:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
user.c:68:18: error: expected ‘)’ before string constant
user.c:69:5: warning: data definition has no type or storage class [enabled by default]
user.c:69:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:69:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:70:5: warning: data definition has no type or storage class [enabled by default]
user.c:70:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:70:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:71:5: error: expected identifier or ‘(’ before ‘return’
user.c:73:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:19:1: warning: control reaches end of non-void function [-Wreturn-type]