Ubuntu Pastebin

Paste from kjbniok at Sat, 19 Aug 2017 15:57:14 +0000

Download as text
1
2
3
4
5
6
7
8
leak.cpp:26:24: error: no matching function for call to 'min'
            col[j+1] = std::min({ prevCol[1 + j] + 1, col[j] + 1, prevCol[j] + (s1[i]==s2[j] ? 0 : 1) });
                       ^~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algobase.h:195:5: note: candidate function template not viable: requires 2 arguments, but 1 was provided
    min(const _Tp& __a, const _Tp& __b)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_algobase.h:243:5: note: candidate function template not viable: requires 3 arguments, but 1 was provided
    min(const _Tp& __a, const _Tp& __b, _Compare __comp)
Download as text