Borderou de evaluare (job #1132467)

Utilizator ZeusCatalin Tiseanu Zeus Data 3 martie 2014 14:14:33
Problema Oypara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘std::vector<std::complex<_Tp> > intersect_poly_halfplane(const std::vector<std::complex<_Tp> >&, const std::complex<_Tp>&, const std::complex<_Tp>&)’: user.cpp:442:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (N == 1) if (! clockwise(A,B,V[0]) ) return V; else return res; ^ user.cpp: In function ‘double distance_point_polygon(const point&, const std::vector<std::complex<double> >&)’: user.cpp:153:46: warning: unused variable ‘_NN’ [-Wunused-variable] #define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II)) ^ user.cpp:610:3: note: in expansion of macro ‘re’ re (i, size(ch) - 1) ^ user.cpp: In function ‘int same_side(const point&, const point&, const polygon&, int&)’: user.cpp:153:46: warning: unused variable ‘_NN’ [-Wunused-variable] #define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II)) ^ user.cpp:679:3: note: in expansion of macro ‘re’ re (i, size(ch)) { ^ user.cpp: In function ‘int closest_point_to_polygon(const polygon&, const polygon&)’: user.cpp:153:46: warning: unused variable ‘_NN’ [-Wunused-variable] #define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II)) ^ user.cpp:696:3: note: in expansion of macro ‘re’ re (i, size(from)) { ^ user.cpp: In function ‘bool try_candidates(int, const polygon&, polygon, std::pair<std::complex<double>, std::complex<double> >&)’: user.cpp:711:24: warning: unused variable ‘n_p2’ [-Wunused-variable] int n_p1 = size(p1), n_p2 = size(p2); ^ user.cpp: In function ‘bool brute_test(const polygon&, const polygon&, std::pair<std::complex<double>, std::complex<double> >&)’: user.cpp:153:46: warning: unused variable ‘_NN’ [-Wunused-variable] #define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II)) ^ user.cpp:736:3: note: in expansion of macro ‘re’ re (i, size(p1)) ^ user.cpp:153:46: warning: unused variable ‘_NN’ [-Wunused-variable] #define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II)) ^ user.cpp:742:3: note: in expansion of macro ‘re’ re (i, size(p2)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms392kbOK!10
20ms392kbOK!10
380ms2656kbOK!10
4112ms3388kbOK!10
5Depăşit6316kbTime limit exceeded.0
6Depăşit7136kbTime limit exceeded.0
7Depăşit7612kbTime limit exceeded.0
8Depăşit7600kbTime limit exceeded.0
9Depăşit8112kbTime limit exceeded.0
100ms392kbOK!10
Punctaj total50

Ceva nu functioneaza?