Borderou de evaluare (job #1894124)
Utilizator | Data | 26 februarie 2017 15:22:56 | |
---|---|---|---|
Problema | Qtri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:17: error: ‘arie’ declared as an ‘inline’ variable
inline int arie(punct A, punct B, punct C){
^
user.cpp:7:17: error: ‘punct’ was not declared in this scope
user.cpp:7:26: error: ‘punct’ was not declared in this scope
inline int arie(punct A, punct B, punct C){
^
user.cpp:7:35: error: ‘punct’ was not declared in this scope
inline int arie(punct A, punct B, punct C){
^
user.cpp:7:42: error: expression list treated as compound expression in initializer [-fpermissive]
inline int arie(punct A, punct B, punct C){
^
user.cpp:7:43: error: expected ‘,’ or ‘;’ before ‘{’ token
inline int arie(punct A, punct B, punct C){
^
user.cpp: In function ‘int main()’:
user.cpp:15:5: error: ‘punct’ was not declared in this scope
punct A, B, C, D;
^
user.cpp:15:11: error: expected ‘;’ before ‘A’
punct A, B, C, D;
^
user.cpp:20:40: error: ‘A’ was not declared in this scope
fscanf(fin, "%d%d%d%d%d%d%d%d", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y, &D.x, &D.y);
^
user.cpp:20:52: error: ‘B’ was not declared in this scope
fscanf(fin, "%d%d%d%d%d%d%d%d", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y, &D.x, &D.y);
^
user.cpp:20:64: error: ‘C’ was not declared in this scope
fscanf(fin, "%d%d%d%d%d%d%d%d", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y, &D.x, &D.y);
^
user.cpp:20:76: error: ‘D’ was not declared in this scope
fscanf(fin, "%d%d%d%d%d%d%d%d", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y, &D.x, &D.y);
^
user.cpp:21:22: error: ‘arie’ cannot be used as a function
if(arie(A, B, D)+arie(B, C, D)+arie(C, A, D)==arie(A, B, C))
^
user.cpp:21:36: error: ‘arie’ cannot be used as a function
if(arie(A, B, D)+arie(B, C, D)+arie(C, A, D)==arie(A, B, C))
^
user.cpp:21:50: error: ‘arie’ cannot be used as a function
if(arie(A, B, D)+arie(B, C, D)+arie(C, A, D)==arie(A, B, C))
^
user.cpp:21:65: error: ‘arie’ cannot be used as a function
if(arie(A, B, D)+arie(B, C, D)+arie(C, A, D)==arie(A, B, C))
^
user.cpp:17:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &q);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !