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_37760625_31275.cpp: In function 'void solve()':
0_0_37760625_31275.cpp:84:12: error: missing template arguments before 'dp'
     vector dp(2 * n + 1, vector<Z>(2));
            ^
0_0_37760625_31275.cpp: In lambda function:
0_0_37760625_31275.cpp:87:13: error: 'dp' was not declared in this scope
         if (dp[x + y][tar].val()) return dp[x + y][tar];
             ^
0_0_37760625_31275.cpp:88:40: error: 'dp' was not declared in this scope
         if (x > 0 && a[x] == s[x + y]) dp[x + y][tar] += dfs(x - 1, y, 0);
                                        ^
0_0_37760625_31275.cpp:89:40: error: 'dp' was not declared in this scope
         if (y > 0 && b[y] == s[x + y]) dp[x + y][tar] += dfs(x, y - 1, 1);
                                        ^
0_0_37760625_31275.cpp:90:16: error: 'dp' was not declared in this scope
         return dp[x + y][tar];
                ^


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-12-01 10:43:25, Gzip enabled