Pagini recente » Borderou de evaluare (job #2951903) | Borderou de evaluare (job #426819) | Borderou de evaluare (job #3030988) | Borderou de evaluare (job #6160) | Borderou de evaluare (job #1906311)
Borderou de evaluare (job #1906311)
Raport evaluator
Compilare:
user.cpp: In function ‘void preprocess()’:
user.cpp:91:80: warning: narrowing conversion of ‘std::min<long double>((*(const long double*)(& P[i].point::y)), (*(const long double*)(& P[(i + 1)].point::y)))’ from ‘const long 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<long double>((*(const long double*)(& P[1].point::y)), (*(const long double*)(& P[n].point::y)))’ from ‘const long 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: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:170:33: warning: narrowing conversion of ‘y’ from ‘int’ to ‘long double’ inside { } [-Wnarrowing]
sol += inside({x, y});
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1200kb | Okay! | 10 |
2 | 0ms | 1216kb | Okay! | 10 |
3 | 0ms | 1252kb | Okay! | 10 |
4 | 4ms | 1312kb | Okay! | 10 |
5 | 12ms | 1504kb | Okay! | 10 |
6 | 144ms | 5532kb | Too bad! | 0 |
7 | 48ms | 2364kb | Okay! | 10 |
8 | 76ms | 2892kb | Okay! | 10 |
9 | 104ms | 4072kb | Okay! | 10 |
10 | 124ms | 5532kb | Too bad! | 0 |
Punctaj total | 80 |