Pagini recente » Borderou de evaluare (job #783289) | Borderou de evaluare (job #2948346) | Atasamentele paginii Profil vanila0406 | Borderou de evaluare (job #205847) | Borderou de evaluare (job #2294449)
Borderou de evaluare (job #2294449)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> bellman_ford(const std::vector<std::vector<std::pair<int, int> > >&, int)':
main.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[current].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:61:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < dist.size(); i++)
~~^~~~~~~~~~~~~
main.cpp:44:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
main.cpp:45:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.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:52:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &src, &dst, &weight);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 | 0 |
| 3 | 2ms | 131kb | Incorect | 0 | 0 |
| 4 | 2ms | 131kb | Incorect | 0 | 0 |
| 5 | 3ms | 131kb | Incorect | 0 | 0 |
| 6 | 2ms | 131kb | Incorect | 0 | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 22ms | 1179kb | Incorect | 0 | 0 |
| 9 | 17ms | 786kb | Incorect | 0 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 39ms | 2097kb | Incorect | 0 | 0 |
| 12 | 24ms | 1048kb | Incorect | 0 |
| 13 | 32ms | 1441kb | Incorect | 0 |
| 14 | 24ms | 1179kb | Incorect | 0 |
| 15 | 39ms | 1703kb | Incorect | 0 | 0 |
| 16 | 40ms | 1703kb | Incorect | 0 |
| 17 | 3ms | 131kb | OK | 5 |
| 18 | 59ms | 2621kb | Incorect | 0 | 0 |
| 19 | 61ms | 2621kb | Incorect | 0 |
| 20 | 3ms | 131kb | OK | 5 |
| Punctaj total | 0 |