Pagini recente » Borderou de evaluare (job #53168) | Borderou de evaluare (job #2333869) | Borderou de evaluare (job #876794) | Borderou de evaluare (job #2701045) | Borderou de evaluare (job #1640893)
Borderou de evaluare (job #1640893)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24: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:78: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:92: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:93: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:95: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:98:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ubu);
^
user.cpp:103: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);
^
user.cpp: In function ‘void rezolva(int, int)’:
user.cpp:58:35: warning: ‘ubMin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rezolva(iNod+1, ubMin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 460kb | OK | 5 |
| 2 | 0ms | 452kb | OK | 5 |
| 3 | 0ms | 464kb | OK | 5 |
| 4 | 0ms | 452kb | Incorect | 0 |
| 5 | 0ms | 460kb | Incorect | 0 |
| 6 | 0ms | 472kb | Incorect | 0 |
| 7 | 0ms | 476kb | Incorect | 0 |
| 8 | 0ms | 476kb | Incorect | 0 |
| 9 | 0ms | 488kb | Incorect | 0 |
| 10 | 0ms | 496kb | Incorect | 0 |
| 11 | 0ms | 500kb | Incorect | 0 |
| 12 | 0ms | 496kb | Incorect | 0 |
| 13 | 0ms | 496kb | Incorect | 0 |
| 14 | 4ms | 576kb | Incorect | 0 |
| 15 | 4ms | 596kb | Incorect | 0 |
| 16 | 8ms | 644kb | Incorect | 0 |
| 17 | 12ms | 680kb | Incorect | 0 |
| 18 | 16ms | 728kb | Incorect | 0 |
| 19 | 20ms | 840kb | Incorect | 0 |
| 20 | 0ms | 452kb | OK | 5 |
| Punctaj total | 20 |