Borderou de evaluare (job #2819227)

Utilizator sandifx68Fazakas Alexandru sandifx68 Data 18 decembrie 2021 09:43:17
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void citire()': main.cpp:4:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 4 | #define INF (1<<30-1) | ~~^~ main.cpp:22:33: note: in expansion of macro 'INF' 22 | for(int i=1;i<=n;i++) dp[i]=INF; | ^~~ main.cpp: In function 'void bellman()': main.cpp:27:9: warning: unused variable 'dmin' [-Wunused-variable] 27 | int dmin,k,cost,x,pasi=0; | ^~~~ main.cpp:27:16: warning: unused variable 'cost' [-Wunused-variable] 27 | int dmin,k,cost,x,pasi=0; | ^~~~ main.cpp:27:21: warning: unused variable 'x' [-Wunused-variable] 27 | int dmin,k,cost,x,pasi=0; | ^ main.cpp: In function 'void afish()': main.cpp:4:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 4 | #define INF (1<<30-1) | ~~^~ main.cpp:50:20: note: in expansion of macro 'INF' 50 | g<<(dp[i]!=INF?dp[i]:0)<<" "; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbIncorect00
22ms184kbIncorect00
32ms184kbIncorect00
42ms184kbIncorect00
56ms1384kbIncorect00
62ms184kbIncorect00
72ms184kbIncorect0
825ms2154kbIncorect00
949ms2367kbIncorect0
106ms1486kbIncorect0
1144ms2838kbIncorect00
12111ms3473kbIncorect0
1378ms2949kbIncorect0
14150ms4075kbIncorect0
15188ms4608kbIncorect00
16144ms4038kbIncorect0
176ms1482kbIncorect0
18216ms5201kbIncorect00
19264ms5922kbIncorect0
206ms1417kbIncorect0
Punctaj total0

Ceva nu functioneaza?