Pagini recente » Borderou de evaluare (job #2162700) | Borderou de evaluare (job #2710303) | Borderou de evaluare (job #2324397) | Borderou de evaluare (job #1704942) | Borderou de evaluare (job #2253953)
Borderou de evaluare (job #2253953)
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:81:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<arcs[curr_node].size(); ++i)
~^~~~~~~~~~~~~~~~~~~~~~~
user.cpp:64:53: warning: unused variable ‘d_old’ [-Wunused-variable]
int d_working[n+2], d_final[n+2], parents[n+2], d_old[n+2];
^~~~~
user.cpp: In function ‘int main()’:
user.cpp:127: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:128: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:131: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:135: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:139: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 | 880kb | OK | 10 | 10 |
2 | 0ms | 872kb | OK | 10 | 10 |
3 | 0ms | 984kb | OK | 10 | 10 |
4 | 0ms | 984kb | OK | 10 | 10 |
5 | 0ms | 988kb | OK | 10 | 10 |
6 | 204ms | 1516kb | OK | 10 | 20 |
7 | 212ms | 1520kb | OK | 10 |
8 | 456ms | 1928kb | OK | 10 | 30 |
9 | 328ms | 1932kb | OK | 10 |
10 | 420ms | 1924kb | OK | 10 |
Punctaj total | 100 |