Borderou de evaluare (job #115317)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Cifra1 (clasa a 9-a) | Compilator | c |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 9 feb. 2015 10:20:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:1:9: error: #include expects "FILENAME" or <FILENAME>
user.c: In function ‘main’:
user.c:4:1: error: unknown type name ‘FILE’
user.c:5:1: error: ‘fin’ undeclared (first use in this function)
user.c:5:1: note: each undeclared identifier is reported only once for each function it appears in
user.c:5:1: warning: implicit declaration of function ‘fopen’ [-Wimplicit-function-declaration]
user.c:6:5: warning: assignment makes pointer from integer without a cast [enabled by default]
user.c:8:1: warning: implicit declaration of function ‘fscanf’ [-Wimplicit-function-declaration]
user.c:8:1: warning: incompatible implicit declaration of built-in function ‘fscanf’ [enabled by default]
user.c:4:12: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c:4:6: warning: unused variable ‘ifin’ [-Wunused-variable]
user.c: At top level:
user.c:20:1: error: expected identifier or ‘(’ before ‘while’
user.c:24:14: error: expected ‘)’ before string constant
user.c:25:1: error: expected identifier or ‘(’ before ‘while’
user.c:29:1: warning: data definition has no type or storage class [enabled by default]
user.c:29:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:29:1: warning: parameter names (without types) in function declaration [enabled by default]
user.c:30:1: warning: data definition has no type or storage class [enabled by default]
user.c:30:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:30:1: warning: parameter names (without types) in function declaration [enabled by default]
user.c:31:1: error: expected identifier or ‘(’ before ‘return’
user.c:31:12: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:19:5: warning: control reaches end of non-void function [-Wreturn-type]