Borderou de evaluare (job #323656)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvență crescătoare (clasa a 5-a) | Compilator | c |
Rundă | Tema 14 clasa 5 | Status | evaluat |
Dată | 15 nov. 2017 23:41:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:15: warning: variable ‘st’ set but not used [-Wunused-but-set-variable]
user.c:6:16: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:31:5: warning: data definition has no type or storage class [enabled by default]
user.c:31:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:31:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:32:5: warning: data definition has no type or storage class [enabled by default]
user.c:32:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:32:10: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:32:5: error: initializer element is not constant
user.c:33:5: error: expected identifier or ‘(’ before ‘if’
user.c:35:6: error: expected identifier or ‘(’ before ‘else’
user.c:38:5: warning: data definition has no type or storage class [enabled by default]
user.c:38:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:38:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:39:5: error: expected identifier or ‘(’ before ‘return’
user.c:40:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:16:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:30:5: warning: control reaches end of non-void function [-Wreturn-type]