Borderou de evaluare (job #2581298)
Utilizator | Data | 14 martie 2020 20:50:22 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:13: error: expected '}' before 'else'
else bestTill[i][j] = max(bestTill[i-1][j], bestTill[i][j-1]);
^~~~
main.cpp:26:31: error: expected ';' before ')' token
for(int i=n-1, j=m-1; i>=0){
^
main.cpp:27:30: error: 'c' was not declared in this scope
if(a[i] == b[j]) res[c++]=a[i];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !