Skip to content
This repository has been archived by the owner on Oct 7, 2019. It is now read-only.

Commit

Permalink
Update longest_common_subsequence.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshika-G authored Oct 2, 2018
1 parent 188b068 commit 59395d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ int lcs(string s1, string s2){
}
return lpsH(s1, 0, s1.length()-1, output);
}
int main{
int main(){
string s1, s2;
cin >> s1 >> s2;
cout << lcs(s1, s2);
}
}

0 comments on commit 59395d3

Please sign in to comment.