Borderou de evaluare (job #2359856)

Utilizator BogdanAlexandruBogdan-Alexandru Dig BogdanAlexandru Data 1 martie 2019 10:12:55
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void Read()': main.cpp:528: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:574:39: warning: iteration 204 invokes undefined behavior [-Waggressive-loop-optimizations] for(i=1;i<20000;++i)Sol=Min(D[P][i],Sol); ~~~~~~^ main.cpp:506:19: note: in definition of macro 'Min' #define Min(a,b) (a<b ? a:b) ^ main.cpp:574: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
110ms262kbOK10
22ms262kbOK10
3101ms655kbTime limit exceeded0
495ms524kbKilled by Signal 110
512ms393kbKilled by Signal 110
63ms262kbIncorect0
79ms393kbOK10
82ms262kbIncorect0
9101ms655kbTime limit exceeded0
1031ms524kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?