0_0_13997615_11816.cpp:70:14: error: return type specification for constructor invalid
void LCS() {
^
0_0_13997615_11816.cpp: In member function 'void LCS::solve()':
0_0_13997615_11816.cpp:124:19: error: no matching function for call to 'LCS::LCS(char [100010], char [100010])'
LCS(sx, sy);
^
0_0_13997615_11816.cpp:124:19: note: candidates are:
0_0_13997615_11816.cpp:70:10: note: LCS::LCS()
void LCS() {
^
0_0_13997615_11816.cpp:70:10: note: candidate expects 0 arguments, 2 provided
0_0_13997615_11816.cpp:49:7: note: constexpr LCS::LCS(const LCS&)
class LCS {
^
0_0_13997615_11816.cpp:49:7: note: candidate expects 1 argument, 2 provided
0_0_13997615_11816.cpp:49:7: note: constexpr LCS::LCS(LCS&&)
0_0_13997615_11816.cpp:49:7: note: candidate expects 1 argument, 2 provided
0_0_13997615_11816.cpp:125:28: error: no matching function for call to 'LCS::lastMatchPosXInY(char [100010])'
lastMatchPosXInY(sy);
^
0_0_13997615_11816.cpp:125:28: note: candidate is:
0_0_13997615_11816.cpp:64:10: note: void LCS::lastMatchPosXInY()
void lastMatchPosXInY() {
^
0_0_13997615_11816.cpp:64:10: note: candidate expects 0 arguments, 1 provided
0_0_13997615_11816.cpp:126:36: error: no matching function for call to 'LCS::LCSHowManySubSeqXInY(char [100010], char [100010])'
LCSHowManySubSeqXInY(sx, sy);
^
0_0_13997615_11816.cpp:126:36: note: candidate is:
0_0_13997615_11816.cpp:95:10: note: void LCS::LCSHowManySubSeqXInY()
void LCSHowManySubSeqXInY() {
^
0_0_13997615_11816.cpp:95:10: note: candidate expects 0 arguments, 2 provided
0_0_13997615_11816.cpp: In function 'int main()':
0_0_13997615_11816.cpp:137:9: error: 'sol' was not declared in this scope
sol.init();
^
|