Problem | commonsubseq |
---|---|
User | lunghu |
Submission Time | 2024-12-16 10:40:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
commonsubseq.cpp: In function ‘int main()’:
commonsubseq.cpp:11:78: error: a function-definition is not allowed here before ‘{’ token
11 | int count_matching_pairs(int N, const vector<int>& A, const vector<int>& B) {
| ^
commonsubseq.cpp:52:18: error: ‘count_matching_pairs’ was not declared in this scope
52 | int result = count_matching_pairs(N, A, B);
| ^~~~~~~~~~~~~~~~~~~~