Pagini recente » Borderou de evaluare (job #1360606) | Borderou de evaluare (job #2271525)
Borderou de evaluare (job #2271525)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph[nod].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:44: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:45: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:47: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:51:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1310kb | OK | 10 |
2 | 4ms | 1310kb | OK | 10 |
3 | 7ms | 1310kb | OK | 10 |
4 | 8ms | 1441kb | OK | 10 |
5 | 33ms | 1835kb | OK | 10 |
6 | 59ms | 2359kb | OK | 10 |
7 | 78ms | 2621kb | OK | 10 |
8 | 174ms | 4313kb | OK | 10 |
9 | 127ms | 3801kb | OK | 10 |
10 | 316ms | 6025kb | OK | 10 |
Punctaj total | 100 |