Pagini recente » Borderou de evaluare (job #1317483) | Borderou de evaluare (job #1842163) | Borderou de evaluare (job #1142163) | Borderou de evaluare (job #1400009) | Borderou de evaluare (job #1366156)
Borderou de evaluare (job #1366156)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellmanFord()’:
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:67: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:89: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:90: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:94: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:97: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:98: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 | 300kb | OK | 10 | 10 |
| 2 | 0ms | 320kb | OK | 10 | 10 |
| 3 | 0ms | 424kb | OK | 10 | 10 |
| 4 | 0ms | 424kb | OK | 10 | 10 |
| 5 | 0ms | 424kb | OK | 10 | 10 |
| 6 | 196ms | 964kb | OK | 10 | 20 |
| 7 | 208ms | 968kb | OK | 10 |
| 8 | 448ms | 1368kb | Incorect | 0 | 0 |
| 9 | 320ms | 1444kb | OK | 10 |
| 10 | 400ms | 1448kb | OK | 10 |
| Punctaj total | 70 |