Borderou de evaluare (job #34030)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gardul (clasa a 6-a) | Compilator | c |
Rundă | Concurs clasa a 5-a | Status | evaluat |
Dată | 4 dec. 2013 12:03:18 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:34:17: error: ‘o’ undeclared (first use in this function)
user.c:34:17: note: each undeclared identifier is reported only once for each function it appears in
user.c:37:5: error: expected ‘}’ before ‘else’
user.c:7:21: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
user.c:6:17: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:40:5: error: expected identifier or ‘(’ before ‘if’
user.c:43:5: warning: data definition has no type or storage class [enabled by default]
user.c:43:5: warning: type defaults to ‘int’ in declaration of ‘m’ [-Wimplicit-int]
user.c:43:7: error: ‘n’ undeclared here (not in a function)
user.c:43:9: error: ‘a’ undeclared here (not in a function)
user.c:43:11: error: ‘v’ undeclared here (not in a function)
user.c:43:13: error: ‘r’ undeclared here (not in a function)
user.c:44:5: warning: data definition has no type or storage class [enabled by default]
user.c:44:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:44:10: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:44:5: error: initializer element is not constant
user.c:45:19: error: expected ‘)’ before string constant
user.c:46:5: warning: data definition has no type or storage class [enabled by default]
user.c:46:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:46:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:47:8: error: expected identifier or ‘(’ before ‘return’
user.c:48:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:39:5: warning: control reaches end of non-void function [-Wreturn-type]