Pagini recente » Borderou de evaluare (job #2561659) | Borderou de evaluare (job #1366236)
Borderou de evaluare (job #1366236)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:38:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size (); ++i)
^
user.cpp: In function ‘bool dijkstra()’:
user.cpp:69:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod.x].size (); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:92:36: 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:93:38: 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:97:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d", &n, &m, &st, &fin);
^
user.cpp:100:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp:101:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &cap[x][y], &cost[x][y]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | OK | 10 | 10 |
2 | 0ms | 316kb | OK | 10 | 10 |
3 | 0ms | 428kb | OK | 10 | 10 |
4 | 0ms | 424kb | OK | 10 | 10 |
5 | 0ms | 432kb | OK | 10 | 10 |
6 | 200ms | 968kb | OK | 10 | 20 |
7 | 208ms | 964kb | OK | 10 |
8 | 460ms | 1368kb | OK | 10 | 30 |
9 | 320ms | 1448kb | OK | 10 |
10 | 416ms | 1456kb | OK | 10 |
Punctaj total | 100 |