Borderou de evaluare (job #1894125)
Utilizator | Data | 26 februarie 2017 15:23:35 | |
---|---|---|---|
Problema | Qtri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int arie(punct, punct, punct)’:
user.cpp:12:63: error: ‘myabs’ was not declared in this scope
return myabs(A.x*B.y+B.x*C.y+C.x*A.y-C.x*B.y-A.x*C.y-B.x*A.y);
^
user.cpp: In function ‘int main()’:
user.cpp:21:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &q);
^
user.cpp:24:86: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
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: In function ‘int arie(punct, punct, punct)’:
user.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !