Pagini recente » Borderou de evaluare (job #2852877) | Borderou de evaluare (job #59359) | Borderou de evaluare (job #2097999) | Borderou de evaluare (job #1180752) | Borderou de evaluare (job #2925381)
Borderou de evaluare (job #2925381)
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 |
1 | 0ms | 184kb | Raspuns corect! | 10 |
2 | 0ms | 184kb | Raspuns corect! | 10 |
3 | 0ms | 184kb | Raspuns corect! | 10 |
4 | 0ms | 184kb | Killed by Signal 11 | 0 |
5 | 0ms | 184kb | Subsir incorect! | 0 |
6 | 0ms | 184kb | Killed by Signal 11 | 0 |
7 | 4ms | 3854kb | Killed by Signal 11 | 0 |
8 | 4ms | 3854kb | Killed by Signal 11 | 0 |
9 | 4ms | 3854kb | Killed by Signal 11 | 0 |
10 | 5ms | 3461kb | Killed by Signal 11 | 0 |
Punctaj total | 30 |