Pagini recente » Borderou de evaluare (job #2426709) | Borderou de evaluare (job #1473689) | Borderou de evaluare (job #1985818) | Borderou de evaluare (job #2473689) | Borderou de evaluare (job #2270702)
Borderou de evaluare (job #2270702)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:31: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:49: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:50: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:51: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:54: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 | OK | 10 |
3 | 6ms | 1310kb | OK | 10 |
4 | 7ms | 1441kb | OK | 10 |
5 | 32ms | 1835kb | OK | 10 |
6 | 59ms | 2228kb | OK | 10 |
7 | 78ms | 2621kb | OK | 10 |
8 | 178ms | 4333kb | OK | 10 |
9 | 119ms | 3801kb | OK | 10 |
10 | 318ms | 6156kb | OK | 10 |
Punctaj total | 100 |