Pagini recente » Borderou de evaluare (job #2082828) | Borderou de evaluare (job #324583) | Borderou de evaluare (job #28994) | Borderou de evaluare (job #284759) | Borderou de evaluare (job #2270697)
Borderou de evaluare (job #2270697)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:29:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graf[unde_sunt.heap_nod].size(); i++) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:36: 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:48:38: 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:49:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:52:33: 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 | 4ms | 1310kb | OK | 10 |
2 | 4ms | 1310kb | Incorect | 0 |
3 | 6ms | 1310kb | Incorect | 0 |
4 | 7ms | 1441kb | Incorect | 0 |
5 | 33ms | 1835kb | Incorect | 0 |
6 | 59ms | 2359kb | Incorect | 0 |
7 | 82ms | 2621kb | Incorect | 0 |
8 | 403ms | 4050kb | Time limit exceeded | 0 |
9 | 126ms | 3801kb | OK | 10 |
10 | 322ms | 6025kb | Incorect | 0 |
Punctaj total | 20 |