Borderou de evaluare (job #3305535)

Utilizator DasapSapunaru Daniel Dasap Data 2 august 2025 15:08:05
Problema Ciclu hamiltonian de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 9 | for(i=0;i<(1<<n);i++)for(j=0;j<=n;j++)dp[i][j]=1e9;dp[1][0]=0; | ^~~ main.cpp:9:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 9 | for(i=0;i<(1<<n);i++)for(j=0;j<=n;j++)dp[i][j]=1e9;dp[1][0]=0; | ^~ main.cpp:19:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(i=1;i<n;i++)rsp=min(rsp,dp[(1<<n)-1][i]+dst[i][0]);if(rsp==1e9)fout<<"Nu exista solutie";else fout<<rsp; | ^~~ main.cpp:19:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 19 | for(i=1;i<n;i++)rsp=min(rsp,dp[(1<<n)-1][i]+dst[i][0]);if(rsp==1e9)fout<<"Nu exista solutie";else fout<<rsp; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
51ms557kbOK5
61ms557kbOK5
729ms5275kbOK5
829ms5275kbOK5
94ms1605kbOK5
106ms1605kbOK5
114ms1605kbOK5
127ms1605kbOK5
136ms1605kbOK5
144ms1605kbOK5
15137ms20160kbOK5
16137ms20217kbOK5
17136ms20168kbOK5
18137ms20217kbOK5
19137ms20295kbOK5
20137ms20217kbOK5
Punctaj total100

Ceva nu functioneaza?