Pagini recente » Borderou de evaluare (job #2470056) | Borderou de evaluare (job #1217468) | Borderou de evaluare (job #2289091) | Borderou de evaluare (job #348240) | Borderou de evaluare (job #1906319)
Borderou de evaluare (job #1906319)
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:136: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:176: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 | 1188kb | Okay! | 10 |
2 | 0ms | 1204kb | Okay! | 10 |
3 | 0ms | 1240kb | Okay! | 10 |
4 | 4ms | 1304kb | Okay! | 10 |
5 | 12ms | 1496kb | Okay! | 10 |
6 | 140ms | 5532kb | Okay! | 10 |
7 | 48ms | 2364kb | Okay! | 10 |
8 | 76ms | 2892kb | Okay! | 10 |
9 | 100ms | 4064kb | Okay! | 10 |
10 | 124ms | 5532kb | Okay! | 10 |
Punctaj total | 100 |