Borderou de evaluare (job #2186783)
Utilizator | Data | 25 martie 2018 22:25:47 | |
---|---|---|---|
Problema | Pascal | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:17:41: error: called object ‘i’ is not a function or function pointer
A[i][j] =( i(i + 1)/ 2)/(((i - j)(i - j + 1)/ 2)(j(j + 1)/ 2));
^
user.c:8:14: note: declared here
int i, j, nr = 0;
^
user.c:17:59: error: called object is not a function or function pointer
A[i][j] =( i(i + 1)/ 2)/(((i - j)(i - j + 1)/ 2)(j(j + 1)/ 2));
~~~^~~~
user.c:17:79: error: called object ‘j’ is not a function or function pointer
A[i][j] =( i(i + 1)/ 2)/(((i - j)(i - j + 1)/ 2)(j(j + 1)/ 2));
^
user.c:8:17: note: declared here
int i, j, nr = 0;
^
user.c:10:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pascal.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:11:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pascal.out", "w", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:13:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &l, &d);
^~~~~~~~~~~~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !