Borderou de evaluare (job #1499197)

Utilizator httpsLup Vasile https Data 10 octombrie 2015 12:25:49
Problema Poligon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In member function ‘void STRIP::get_lat()’: user.cpp:76:95: warning: narrowing conversion of ‘a.point::y’ from ‘int’ to ‘long double’ inside { } [-Wnarrowing] lat.push_back({a.y,b.y,(m*(x1-a.x)+a.y+m*(x2-a.x)+a.y)/(long double)2}); ^ user.cpp:76:95: warning: narrowing conversion of ‘b.point::y’ from ‘int’ to ‘long double’ inside { } [-Wnarrowing] user.cpp: At global scope: user.cpp:146:21: error: ‘cross_prod’ does not name a type V_LINE vbenzi[nmax];cross_prod ^

Ceva nu functioneaza?