Pagini recente » Borderou de evaluare (job #2441545) | Borderou de evaluare (job #1001725) | Borderou de evaluare (job #1783188) | Borderou de evaluare (job #2557358) | Borderou de evaluare (job #2294138)
Borderou de evaluare (job #2294138)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> dijkstra(const std::vector<std::vector<std::pair<int, int> > >&, int)':
main.cpp:23: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:39: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:40: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:43: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:48: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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 13ms | 131kb | OK | 10 |
4 | 25ms | 262kb | OK | 10 |
5 | 403ms | 786kb | Time limit exceeded | 0 |
6 | 400ms | 1310kb | Time limit exceeded | 0 |
7 | 400ms | 1966kb | Time limit exceeded | 0 |
8 | 154ms | 4444kb | OK | 10 |
9 | 400ms | 3932kb | Time limit exceeded | 0 |
10 | 403ms | 5767kb | Time limit exceeded | 0 |
Punctaj total | 50 |