Borderou de evaluare (job #2325135)

Utilizator amarghescuAnton Marghescu amarghescu Data 21 ianuarie 2019 23:16:42
Problema Camp Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:30:53: error: 'floor' was not declared in this scope rasp=a.y+(int)floor(1.0*(nx-a.x)*(b.y-a.y)/(b.x-a.x)); ^ main.cpp:32:52: error: 'ceil' was not declared in this scope rasp=a.y+(int)ceil(1.0*(nx-a.x)*(b.y-a.y)/(b.x-a.x)); ^ main.cpp:10:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("camp.in","r",stdin); ^ main.cpp:11:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("camp.out","w",stdout); ^ main.cpp:15:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:17:60: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[i].x,&v[i].y),lim[v[i].x].push_back(v[i].y); ^ Non zero exit status: 1

Ceva nu functioneaza?