Borderou de evaluare (job #2518181)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < DP.size(); ++i)
~~^~~~~~~~~~~
main.cpp:14:37: 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:15:39: 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:17:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
main.cpp:22:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 7ms | 262kb | OK | 10 |
5 | 33ms | 827kb | OK | 10 |
6 | 45ms | 1441kb | OK | 10 |
7 | 75ms | 2097kb | OK | 10 |
8 | 1000ms | 4050kb | Time limit exceeded | 0 |
9 | 161ms | 3817kb | OK | 10 |
10 | 309ms | 6025kb | OK | 10 |
Punctaj total | 90 |