Borderou de evaluare (job #86770)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvență crescătoare (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 nov. 2014 08:56:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:11:9: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat]
user.c:4:20: warning: unused variable ‘d’ [-Wunused-variable]
user.c:3:17: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:16:5: warning: data definition has no type or storage class [enabled by default]
user.c:16:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:16:10: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:16:5: error: initializer element is not constant
user.c:17:18: error: expected ‘)’ before string constant
user.c:18:5: warning: data definition has no type or storage class [enabled by default]
user.c:18:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:18:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:19:5: error: expected identifier or ‘(’ before ‘return’
user.c:20:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:6:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:11:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:15:1: warning: control reaches end of non-void function [-Wreturn-type]