Pagini recente » Borderou de evaluare (job #1254225) | Borderou de evaluare (job #1484734) | Borderou de evaluare (job #1226596) | Borderou de evaluare (job #1519909) | Borderou de evaluare (job #2294133)
Borderou de evaluare (job #2294133)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> dijkstra(const std::vector<std::vector<std::pair<int, int> > >&, int)':
main.cpp:25:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[current].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
main.cpp:42:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
main.cpp:45:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:50:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &src, &dst, &weight);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 524kb | OK | 10 |
2 | 3ms | 524kb | OK | 10 |
3 | 14ms | 524kb | OK | 10 |
4 | 26ms | 655kb | OK | 10 |
5 | 401ms | 1048kb | Time limit exceeded | 0 |
6 | 400ms | 1572kb | Time limit exceeded | 0 |
7 | 401ms | 2097kb | Time limit exceeded | 0 |
8 | 179ms | 4444kb | OK | 10 |
9 | 400ms | 3932kb | Time limit exceeded | 0 |
10 | 401ms | 5898kb | Time limit exceeded | 0 |
Punctaj total | 50 |