Borderou de evaluare (job #1906193)

Utilizator popabogdanPopa Bogdan Ioan popabogdan Data 6 martie 2017 12:42:42
Problema Poligon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void preprocess()’: user.cpp:91:80: warning: narrowing conversion of ‘std::min<double>((*(const double*)(& P[i].point::y)), (*(const double*)(& P[(i + 1)].point::y)))’ from ‘const double’ to ‘int’ inside { } [-Wnarrowing] V[P[i].x].push_back({min(P[i].y, P[i + 1].y), max(P[i].y, P[i + 1].y)}); ^ user.cpp:93:72: warning: narrowing conversion of ‘std::min<double>((*(const double*)(& P[1].point::y)), (*(const double*)(& P[n].point::y)))’ from ‘const double’ to ‘int’ inside { } [-Wnarrowing] V[P[1].x].push_back({min(P[1].y, P[n].y), max(P[1].y, P[n].y)}); ^ user.cpp: In function ‘int inside(point)’: user.cpp:128:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < Stripes[pos].Segments.size(); i++) ^ user.cpp:130:61: warning: right operand of comma operator has no effect [-Wunused-value] s = 0, d = Stripes[pos].Segments.size() - 1, m, best = -1; ^ user.cpp: In function ‘int main()’: user.cpp:171:63: warning: narrowing conversion of ‘y’ from ‘int’ to ‘double’ inside { } [-Wnarrowing] if(Set.find(make_pair(x, y)) != Set.end() || inside({x, y})) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1256kbToo bad!0
220ms1268kbToo bad!0
388ms1308kbToo bad!0
4Depăşit1340kbTime limit exceeded.0
5Depăşit1492kbTime limit exceeded.0
6Depăşit4604kbTime limit exceeded.0
7Depăşit2164kbTime limit exceeded.0
8Depăşit2636kbTime limit exceeded.0
9Depăşit3512kbTime limit exceeded.0
10Depăşit4556kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?