Borderou de evaluare (job #96573)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 dec. 2014 21:33:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:27:7: error: lvalue required as left operand of assignment
user.c:28:15: error: invalid operands to binary * (have ‘__attribute__((const)) struct div_t (*)(int, int)’ and ‘__attribute__((const)) struct div_t (*)(int, int)’)
user.c:28:35: error: invalid operands to binary % (have ‘int’ and ‘__attribute__((const)) struct div_t (*)(int, int)’)
user.c:29:8: error: lvalue required as increment operand
user.c:31:12: error: invalid operands to binary * (have ‘__attribute__((const)) struct div_t (*)(int, int)’ and ‘__attribute__((const)) struct div_t (*)(int, int)’)
user.c:10:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]