Borderou de evaluare (job #2658602)
Utilizator | Data | 14 octombrie 2020 15:42:22 | |
---|---|---|---|
Problema | Trapez | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'double POINT::panta(const POINT&)':
main.cpp:42:26: error: 'fabs' was not declared in this scope
if(fabs(other.x-x) < eps)
^
main.cpp: In function 'int main()':
main.cpp:75:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < slopes.size(); i++)
~~^~~~~~~~~~~~~~~
main.cpp:54:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in","r",stdin);
^
main.cpp:55:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out","w",stdout);
^
main.cpp:57:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:60:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&tempx,&tempy);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !