Borderou de evaluare (job #1132516)

Utilizator ZeusCatalin Tiseanu Zeus Data 3 martie 2014 16:02:38
Problema Oypara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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:444: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:611: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:684:3: note: in expansion of macro ‘re’ re (i, size(ch)) { ^ user.cpp: In function ‘bool try_candidates(int, int, const polygon&, const polygon&, std::pair<std::complex<double>, std::complex<double> >&)’: user.cpp:776:9: warning: unused variable ‘index_1b’ [-Wunused-variable] int index_1b = (index_1 + n_p1 + 1) % n_p1; ^ user.cpp:779:9: warning: unused variable ‘index_2b’ [-Wunused-variable] int index_2b = (index_2 + n_p2 + 1) % n_p2; ^ user.cpp: In function ‘bool try_closest(int, int, 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:806:3: note: in expansion of macro ‘re’ re (i, size(p2)) { ^ 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:814:3: note: in expansion of macro ‘re’ re (i, size(p1)) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms332kbKilled by signal 11(SIGSEGV).0
20ms332kbKilled by signal 11(SIGSEGV).0
30ms332kbKilled by signal 11(SIGSEGV).0
40ms328kbKilled by signal 11(SIGSEGV).0
50ms332kbKilled by signal 11(SIGSEGV).0
60ms332kbKilled by signal 11(SIGSEGV).0
70ms328kbKilled by signal 11(SIGSEGV).0
80ms332kbKilled by signal 11(SIGSEGV).0
90ms328kbKilled by signal 11(SIGSEGV).0
100ms336kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?