Pagini recente » Borderou de evaluare (job #3288135) | Borderou de evaluare (job #1117211) | Borderou de evaluare (job #3272801) | Borderou de evaluare (job #3031735) | Borderou de evaluare (job #2723480)
Borderou de evaluare (job #2723480)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:108:42: warning: narrowing conversion of 'i' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[v[i + 1]].push_back({1, i, i + 1});
^
main.cpp:108:38: warning: narrowing conversion of '(i + 1)' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[v[i + 1]].push_back({1, i, i + 1});
~~^~~
main.cpp:109:38: warning: narrowing conversion of 'i' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[v[i]].push_back({2, i, i + 1});
^
main.cpp:109:34: warning: narrowing conversion of '(i + 1)' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[v[i]].push_back({2, i, i + 1});
~~^~~
main.cpp:120:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < dij[costbase].size(); h++) {
~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:134:75: warning: narrowing conversion of '(start + 1)' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[costbase + v[start + 1]].push_back({1, pqtop.x, start + 1});
~~~~~~^~~
main.cpp:136:70: warning: narrowing conversion of '(((int)pqtop.Connection::x) - 1)' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[costbase + v[pqtop.x - 1]].push_back({2, pqtop.x - 1, start});
~~~~~~~~^~~
main.cpp:136:81: warning: narrowing conversion of 'start' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[costbase + v[pqtop.x - 1]].push_back({2, pqtop.x - 1, start});
^
main.cpp:154:81: warning: narrowing conversion of 'start' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[costbase + v[pqtop.y + 1]].push_back({1, start, pqtop.y + 1});
^
main.cpp:154:77: warning: narrowing conversion of '(((int)pqtop.Connection::y) + 1)' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[costbase + v[pqtop.y + 1]].push_back({1, start, pqtop.y + 1});
~~~~~~~~^~~
main.cpp:156:66: warning: narrowing conversion of '(start - 1)' from 'int' to 'us {aka short unsigned int}' inside { } [-Wnarrowing]
dij[costbase + v[start - 1]].push_back({2, start - 1, pqtop.y});
~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 218ms | 96468kb | OK | 2 |
2 | 205ms | 98959kb | OK | 3 |
3 | 228ms | 102105kb | OK | 3 |
4 | 248ms | 105644kb | OK | 3 |
5 | 295ms | 114163kb | OK | 4 |
6 | 1525ms | 231604kb | OK | 11 |
7 | 1512ms | 229376kb | OK | 11 |
8 | 1486ms | 230948kb | OK | 11 |
9 | 1514ms | 230948kb | OK | 11 |
10 | 1506ms | 224788kb | OK | 11 |
11 | 3118ms | 459341kb | Time limit exceeded | 0 |
12 | 3128ms | 462393kb | Time limit exceeded | 0 |
13 | 3028ms | 464994kb | Time limit exceeded | 0 |
Punctaj total | 70 |