Pagini recente » Borderou de evaluare (job #341853) | Borderou de evaluare (job #2136785) | Borderou de evaluare (job #3176166) | Borderou de evaluare (job #2187394) | Borderou de evaluare (job #2367506)
Borderou de evaluare (job #2367506)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it = 0; it < graph[current.node].size(); ++it) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:30: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:31: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:33: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:37:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &start, &edge.dest, &edge.cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1310kb | OK | 10 |
2 | 403ms | 1310kb | Time limit exceeded | 0 |
3 | 5ms | 1310kb | OK | 10 |
4 | 7ms | 1441kb | OK | 10 |
5 | 32ms | 1835kb | OK | 10 |
6 | 59ms | 2359kb | OK | 10 |
7 | 78ms | 2621kb | OK | 10 |
8 | 403ms | 4050kb | Time limit exceeded | 0 |
9 | 403ms | 3538kb | Time limit exceeded | 0 |
10 | 323ms | 6025kb | OK | 10 |
Punctaj total | 70 |