Borderou de evaluare (job #1638986)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<k.size()-1; ++i) //BellmanFord-ul se face pentru toate nodurile din vector, exceptie nodul N
^
user.cpp: In function ‘void bellmanFord(int)’:
user.cpp:63:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nod].size(); ++i)
^
user.cpp: In function ‘void initializare()’:
user.cpp:77:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.in", "rt", stdin);
^
user.cpp:78:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out", "wt", stdout);
^
user.cpp:80:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &K);
^
user.cpp:83:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ubu);
^
user.cpp:88:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 492kb | OK | 5 |
| 2 | 0ms | 488kb | OK | 5 |
| 3 | 0ms | 496kb | OK | 5 |
| 4 | 0ms | 488kb | Incorect | 0 |
| 5 | 0ms | 500kb | Incorect | 0 |
| 6 | 0ms | 512kb | Incorect | 0 |
| 7 | 0ms | 548kb | Incorect | 0 |
| 8 | 0ms | 592kb | Incorect | 0 |
| 9 | 0ms | 884kb | Incorect | 0 |
| 10 | 0ms | 1400kb | Incorect | 0 |
| 11 | 4ms | 2364kb | Incorect | 0 |
| 12 | 4ms | 2364kb | Incorect | 0 |
| 13 | 8ms | 4476kb | Incorect | 0 |
| 14 | 16ms | 9228kb | Incorect | 0 |
| 15 | 28ms | 19056kb | Incorect | 0 |
| 16 | 32ms | 18996kb | Incorect | 0 |
| 17 | 36ms | 18996kb | Incorect | 0 |
| 18 | 40ms | 19192kb | Incorect | 0 |
| 19 | 48ms | 19328kb | Incorect | 0 |
| 20 | 0ms | 488kb | OK | 5 |
| Punctaj total | 20 |