Borderou de evaluare (job #2920828)

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

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
11ms188kbLungime incorecta!00
21ms184kbCorect!1010
31ms184kbCorect!1010
41ms184kbCorect!1010
51ms184kbCorect!1010
61ms184kbCorect!1010
71ms184kbCorect!1010
8109ms1024kbCorect!1030
955ms1064kbCorect!10
1054ms1015kbCorect!10
Punctaj total90

Ceva nu functioneaza?