Borderou de evaluare (job #127625)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Piramide (clasa a 5-a) | Compilator | c |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 4 mar. 2015 09:27:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:29: error: invalid operands to binary & (have ‘long int *’ and ‘long int’)
user.c:13:6: warning: format ‘%ld’ expects a matching ‘long int’ argument [-Wformat]
user.c:17:6: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long int *’ [-Wformat]
user.c:17:6: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long int *’ [-Wformat]
user.c:19:1: error: expected ‘;’ before ‘maxa’
user.c:6:31: warning: variable ‘piramida’ set but not used [-Wunused-but-set-variable]
user.c:6:29: warning: unused variable ‘M’ [-Wunused-variable]
user.c:22:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]