Pagini recente » Cod sursa (job #694615) | Borderou de evaluare (job #1063848) | Cod sursa (job #501082) | Rating sabau sabin nicolae cristian (Ronin) | Borderou de evaluare (job #2666679)
Borderou de evaluare (job #2666679)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:6:19: warning: integer overflow in expression [-Woverflow]
#define oo (1<<31)-1
~~~~~~~^~
main.cpp:38:32: note: in expansion of macro 'oo'
for(int i=1;i<=n;i++)D[i]=oo;
^~
main.cpp:50:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V[CurrentNod].size();i++)
~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void print()':
main.cpp:6:19: warning: integer overflow in expression [-Woverflow]
#define oo (1<<31)-1
~~~~~~~^~
main.cpp:73:18: note: in expansion of macro 'oo'
if(D[i]!=oo)g<<D[i]<<" ";
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1310kb | OK | 10 |
| 2 | 5ms | 1310kb | OK | 10 |
| 3 | 6ms | 1441kb | Incorect | 0 |
| 4 | 7ms | 1441kb | Incorect | 0 |
| 5 | 28ms | 1835kb | Incorect | 0 |
| 6 | 51ms | 2228kb | Incorect | 0 |
| 7 | 68ms | 2621kb | Incorect | 0 |
| 8 | 138ms | 4055kb | OK | 10 |
| 9 | 91ms | 3801kb | OK | 10 |
| 10 | 308ms | 5898kb | Incorect | 0 |
| Punctaj total | 40 |