Pagini recente » Borderou de evaluare (job #2639714) | Borderou de evaluare (job #115790) | Borderou de evaluare (job #2790712) | Borderou de evaluare (job #2216436) | Borderou de evaluare (job #2359847)
Borderou de evaluare (job #2359847)
Raport evaluator
Compilare:
main.cpp: In function 'void Read()':
main.cpp:529:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d",&N,&P,&K);
^
main.cpp:532:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&T[i].d,&T[i].c);
^
main.cpp:534:54: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&X,&Y),Fr[X][Y]=1,Fr[Y][X]=1;
^
main.cpp: In function 'void UpdateMatrix()':
main.cpp:543:37: warning: iteration 204 invokes undefined behavior [-Waggressive-loop-optimizations]
for(c=1;c<=20000;++c)D[l][c]=oo;
^
main.cpp:543:18: note: within this loop
for(c=1;c<=20000;++c)D[l][c]=oo;
~^~~~~~~
main.cpp: In function 'void BellmanFord()':
main.cpp:575:39: warning: iteration 204 invokes undefined behavior [-Waggressive-loop-optimizations]
for(i=1;i<20000;++i)Sol=Min(D[P][i],Sol);
~~~~~~^
main.cpp:507:19: note: in definition of macro 'Min'
#define Min(a,b) (a<b ? a:b)
^
main.cpp:575:14: note: within this loop
for(i=1;i<20000;++i)Sol=Min(D[P][i],Sol);
~^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | OK | 10 |
| 2 | 2ms | 262kb | Incorect | 0 |
| 3 | 101ms | 655kb | Time limit exceeded | 0 |
| 4 | 95ms | 524kb | Killed by Signal 11 | 0 |
| 5 | 15ms | 393kb | Killed by Signal 11 | 0 |
| 6 | 3ms | 262kb | Incorect | 0 |
| 7 | 9ms | 393kb | OK | 10 |
| 8 | 2ms | 262kb | Incorect | 0 |
| 9 | 101ms | 655kb | Time limit exceeded | 0 |
| 10 | 32ms | 524kb | Killed by Signal 11 | 0 |
| Punctaj total | 20 |