aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lcs/lcs_via_lis_ut.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/lcs/lcs_via_lis_ut.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lcs/lcs_via_lis_ut.cpp')
-rw-r--r--library/cpp/lcs/lcs_via_lis_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/lcs/lcs_via_lis_ut.cpp b/library/cpp/lcs/lcs_via_lis_ut.cpp
index f6ad5152b6..88c6bb4d94 100644
--- a/library/cpp/lcs/lcs_via_lis_ut.cpp
+++ b/library/cpp/lcs/lcs_via_lis_ut.cpp
@@ -10,7 +10,7 @@ class TLCSTest: public TTestBase {
private:
size_t Length(TStringBuf s1, TStringBuf s2) {
- TVector<TVector<size_t>> c;
+ TVector<TVector<size_t>> c;
c.resize(s1.size() + 1);
for (size_t i = 0; i < c.size(); ++i) {
@@ -37,7 +37,7 @@ private:
}
void CheckLCSString(TStringBuf s1, TStringBuf s2, TStringBuf reflcs) {
- TString lcs;
+ TString lcs;
size_t len = NLCS::MakeLCS<char>(s1, s2, &lcs);
const char* comment = Sprintf("%s & %s = %s", s1.data(), s2.data(), reflcs.data()).c_str();