Pagini recente » Borderou de evaluare (job #1499848) | Borderou de evaluare (job #1734374) | Borderou de evaluare (job #221258) | Borderou de evaluare (job #1412232) | Borderou de evaluare (job #2466651)
Borderou de evaluare (job #2466651)
Raport evaluator
Compilare:
main.cpp: In function 'long long int Dijkstra()':
main.cpp:52:24: warning: narrowing conversion of '(n - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
pq.push(State{1, n - 1, 0});
~~^~~
main.cpp:74:53: warning: narrowing conversion of '(((int)point) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{segment, point - 1, 0});
~~~~~~^~~
main.cpp:79:46: warning: narrowing conversion of '(((int)segment) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{segment + 1, point, 0});
~~~~~~~~^~~
main.cpp:81:46: warning: narrowing conversion of '(((int)segment) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{segment + 1, point - 1, 0});
~~~~~~~~^~~
main.cpp:81:57: warning: narrowing conversion of '(((int)point) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{segment + 1, point - 1, 0});
~~~~~~^~~
main.cpp:92:48: warning: narrowing conversion of '(((int)point) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{point - 1, segment, h[point] - h[point - 1]});
~~~~~~^~~
main.cpp:94:67: warning: narrowing conversion of '(((int)point) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{lowerSegmentPoint, point - 1, h[point] - h[lowerSegmentPoint]});
~~~~~~^~~
main.cpp:99:48: warning: narrowing conversion of '(((int)point) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{point + 1, segment, h[point] - h[point + 1]});
~~~~~~^~~
main.cpp:109:48: warning: narrowing conversion of '(((int)point) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{point - 1, segment, h[point - 1] - h[point]});
~~~~~~^~~
main.cpp:111:68: warning: narrowing conversion of '(((int)point) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{higherSegmentPoint, point - 1, h[higherSegmentPoint] - h[point]});
~~~~~~^~~
main.cpp:116:48: warning: narrowing conversion of '(((int)point) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
edges.push_back(Edge{point + 1, segment, h[point + 1] - h[point]});
~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | OK | 5 |
2 | 3ms | 393kb | OK | 5 |
3 | 4ms | 786kb | OK | 5 |
4 | 4ms | 524kb | OK | 5 |
5 | 8ms | 1703kb | OK | 5 |
6 | 4ms | 524kb | OK | 5 |
7 | 6ms | 1441kb | OK | 5 |
8 | 18ms | 4456kb | OK | 5 |
9 | 54ms | 14024kb | OK | 5 |
10 | 127ms | 25034kb | OK | 5 |
11 | 3ms | 524kb | OK | 5 |
12 | 7ms | 1310kb | OK | 5 |
13 | 255ms | 4587kb | OK | 5 |
14 | 336ms | 13238kb | OK | 5 |
15 | 564ms | 13631kb | OK | 5 |
16 | 515ms | 18874kb | OK | 5 |
17 | 571ms | 17723kb | OK | 5 |
18 | 429ms | 23592kb | OK | 5 |
19 | 602ms | 22544kb | OK | 5 |
20 | 623ms | 22937kb | OK | 5 |
Punctaj total | 100 |