From 59395d3df0b8c391dc70de26ce7fdbe005570dcc Mon Sep 17 00:00:00 2001 From: Anshika Gupta Date: Tue, 2 Oct 2018 19:41:58 +0530 Subject: [PATCH] Update longest_common_subsequence.cpp --- .../c++/longest_common_subsequence.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamic_programing/longest_common_subsequence/c++/longest_common_subsequence.cpp b/dynamic_programing/longest_common_subsequence/c++/longest_common_subsequence.cpp index 7b49e04..7931a18 100644 --- a/dynamic_programing/longest_common_subsequence/c++/longest_common_subsequence.cpp +++ b/dynamic_programing/longest_common_subsequence/c++/longest_common_subsequence.cpp @@ -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); -} \ No newline at end of file +}