F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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();
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-28 06:11:29, Gzip enabled