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_30586646_30142.cpp: In lambda function:
0_0_30586646_30142.cpp:29:10: error: expected '{' before '[' token
     do[i][j]=max(dp[i-1][j],dp[i][j-1])+mp[i][j];
          ^
0_0_30586646_30142.cpp: In function 'int main()':
0_0_30586646_30142.cpp:29:10: error: no match for 'operator[]' (operand types are 'main()::<lambda()>' and 'int')
0_0_30586646_30142.cpp:30:8: error: expected 'while' before '(' token
     for(int k=1;k<j;k++){
        ^
0_0_30586646_30142.cpp:30:9: error: expected primary-expression before 'int'
     for(int k=1;k<j;k++){
         ^
0_0_30586646_30142.cpp:30:9: error: expected ')' before 'int'
0_0_30586646_30142.cpp:30:9: error: expected ';' before 'int'
0_0_30586646_30142.cpp:30:24: error: expected ';' before ')' token
     for(int k=1;k<j;k++){
                        ^


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-11-23 04:59:11, Gzip enabled