Pagini recente » Borderou de evaluare (job #2698848) | Borderou de evaluare (job #2705957) | Borderou de evaluare (job #1669379) | Borderou de evaluare (job #1904024) | Borderou de evaluare (job #2359826)
Borderou de evaluare (job #2359826)
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:531: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:533: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:542:37: warning: iteration 204 invokes undefined behavior [-Waggressive-loop-optimizations]
for(c=1;c<=20000;++c)D[l][c]=oo;
^
main.cpp:542: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 | Incorect | 0 |
2 | 2ms | 262kb | Incorect | 0 |
3 | 101ms | 655kb | Time limit exceeded | 0 |
4 | 101ms | 524kb | Time limit exceeded | 0 |
5 | 12ms | 393kb | Killed by Signal 11 | 0 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 9ms | 393kb | OK | 10 |
8 | 2ms | 262kb | Incorect | 0 |
9 | 100ms | 655kb | Time limit exceeded | 0 |
10 | 34ms | 524kb | Killed by Signal 11 | 0 |
Punctaj total | 10 |