Borderou de evaluare (job #2925381)

Utilizator stefanscdStefan stefanscd Data 15 octombrie 2022 09:21:28
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int lcs(int*, int*, int, int)': main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 11 | for(int i=0;i<=m;++i) | ^~~ main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 20 | return L[m][n]; | ^~~~~~ main.cpp:10:9: warning: unused variable 'i' [-Wunused-variable] 10 | int i,j; | ^ main.cpp:10:11: warning: unused variable 'j' [-Wunused-variable] 10 | int i,j; | ^ main.cpp: In function 'int main()': main.cpp:35:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 35 | for(int i=0;i<n;++i) | ^~~ main.cpp:37:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 37 | cout<<lcs(a,b,m,n)<<endl; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbRaspuns corect!10
20ms184kbRaspuns corect!10
30ms184kbRaspuns corect!10
40ms184kbKilled by Signal 110
50ms184kbSubsir incorect!0
60ms184kbKilled by Signal 110
74ms3854kbKilled by Signal 110
84ms3854kbKilled by Signal 110
94ms3854kbKilled by Signal 110
105ms3461kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?