Borderou de evaluare (job #2920829)

Utilizator mihneazzzMacovei Daniel mihneazzz Data 26 august 2022 11:46:56
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void Afisare(int)': main.cpp:10:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 10 | if(p) | ^ main.cpp: In function 'int main()': main.cpp:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 29 | for(i=1;i<=p;i++) cout<<best[i]<<" ";cout<<"\n"; | ^~~ main.cpp:29:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 29 | for(i=1;i<=p;i++) cout<<best[i]<<" ";cout<<"\n"; | ^~~~ main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 30 | for(i=1;i<=n;i++) cout<<lg[i]<<" ";cout<<"\n"; | ^~~ main.cpp:30:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 30 | for(i=1;i<=n;i++) cout<<lg[i]<<" ";cout<<"\n"; | ^~~~ main.cpp:21:11: warning: unused variable 'j' [-Wunused-variable] 21 | int i,j,poz,lgmax; | ^ main.cpp:21:17: warning: unused variable 'lgmax' [-Wunused-variable] 21 | int i,j,poz,lgmax; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbCorect!1010
21ms184kbCorect!1010
31ms184kbCorect!1010
41ms184kbCorect!1010
51ms184kbCorect!1010
62ms184kbCorect!1010
73ms299kbCorect!1010
869ms1093kbCorect!1030
987ms962kbCorect!10
1056ms987kbCorect!10
Punctaj total100

Ceva nu functioneaza?