Pagini recente » Cod sursa (job #2933521) | Cod sursa (job #108118) | Cod sursa (job #94486) | Borderou de evaluare (job #1145990)
Borderou de evaluare (job #1145990)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<std::pair<long long int, long long int> > merge(std::vector<std::pair<long long int, long long int> >, std::vector<std::pair<long long int, long long int> >)’:
user.cpp:35:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < B.size(); ++i)
^
user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < A.size(); ++i)
^
user.cpp:47:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == A.size() - 1 || ccw(P1, A[i], P2) >= 0) {
^
user.cpp: In function ‘int main()’:
user.cpp:163:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &x[i].x, &x[i].y);
^
user.cpp:163:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:170:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d", &A.x, &A.y, &B.x, &B.y);
^
user.cpp:170:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:170:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:170:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘bool solve(std::pair<long long int, long long int>, std::pair<long long int, long long int>, int)’:
user.cpp:152:27: warning: ‘hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
query(1, 1, n, lo, hi);
^
user.cpp:152:27: warning: ‘lo’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 6772kb | OK | 10 |
2 | 16ms | 6936kb | OK | 10 |
3 | 152ms | 9252kb | OK | 10 |
4 | 428ms | 19012kb | OK | 10 |
5 | 832ms | 29344kb | OK | 10 |
6 | 776ms | 13316kb | Incorect | 0 |
7 | 1016ms | 15028kb | Incorect | 0 |
8 | 868ms | 18128kb | Incorect | 0 |
9 | 944ms | 18488kb | Incorect | 0 |
10 | 1024ms | 19040kb | Incorect | 0 |
Punctaj total | 50 |