Borderou de evaluare (job #3031098)

Utilizator victor_cimpeanCimpean Victor-Samuel victor_cimpean Data 18 martie 2023 17:56:22
Problema Sume de subsecvențe Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:57:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 57 | for(int j=jmaxi;j<=n;j++) | ^~~ main.cpp:59:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 59 | n--; | ^ main.cpp:56:26: warning: 'jmaxi' may be used uninitialized [-Wmaybe-uninitialized] 56 | v[imaxi]+=v[jmaxi]; | ~~~~~~~^ main.cpp:48:35: note: 'jmaxi' was declared here 48 | int sum_min=INT_MAX,imaxi,jmaxi; | ^~~~~ main.cpp:56:16: warning: 'imaxi' may be used uninitialized [-Wmaybe-uninitialized] 56 | v[imaxi]+=v[jmaxi]; | ~~~~~~~^ main.cpp:48:29: note: 'imaxi' was declared here 48 | int sum_min=INT_MAX,imaxi,jmaxi; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?