Pagini recente » Borderou de evaluare (job #984368) | Borderou de evaluare (job #2678673) | Borderou de evaluare (job #872578) | Borderou de evaluare (job #548697) | Borderou de evaluare (job #2253948)
Borderou de evaluare (job #2253948)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman_ford()’:
user.cpp:40:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i<arcs[curr_node].size(); ++i)
~^~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘bool dijkstra()’:
user.cpp:83:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<arcs[curr_node].size(); ++i)
~^~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:129:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.in", "r", stdin);
^
user.cpp:130:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.out", "w", stdout);
^
user.cpp:133:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &source, &dest);
^
user.cpp:137:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:141:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &caps[x][y], &costs[x][y]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 864kb | OK | 10 | 10 |
2 | 0ms | 868kb | OK | 10 | 10 |
3 | 0ms | 988kb | OK | 10 | 10 |
4 | 0ms | 988kb | OK | 10 | 10 |
5 | 0ms | 988kb | OK | 10 | 10 |
6 | 392ms | 1520kb | OK | 10 | 20 |
7 | 380ms | 1520kb | OK | 10 |
8 | Depăşit | 2020kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 2016kb | Time limit exceeded. | 0 |
10 | Depăşit | 2020kb | Time limit exceeded. | 0 |
Punctaj total | 70 |