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

825564_0_0_22858.cpp:48: error: expected `}' at end of input
825564_0_0_22858.cpp: In constructor `Dp::Dp()':
825564_0_0_22858.cpp:6: error: `dp' undeclared (first use this function)
825564_0_0_22858.cpp:6: error: (Each undeclared identifier is reported only once for each function it appears in.)
825564_0_0_22858.cpp:8: error: a function-definition is not allowed here before '{' token
825564_0_0_22858.cpp:8: error: expected `,' or `;' before '{' token
825564_0_0_22858.cpp:11: error: expected primary-expression before "private"
825564_0_0_22858.cpp:11: error: expected `;' before "private"
825564_0_0_22858.cpp: In member function `int Dp::main()':
825564_0_0_22858.cpp:28: error: `p' undeclared (first use this function)
825564_0_0_22858.cpp:28: error: `h' undeclared (first use this function)
825564_0_0_22858.cpp:39: error: no match for 'operator[]' in 'dp[i]'
825564_0_0_22858.cpp:39: error: no match for 'operator[]' in 'dp[(i - 1)]'
825564_0_0_22858.cpp:42: error: no match for 'operator[]' in 'dp[i]'
825564_0_0_22858.cpp:42: error: no match for 'operator[]' in 'dp[(i - 1)]'
825564_0_0_22858.cpp:42: error: no match for 'operator[]' in 'dp[(i - 1)]'
825564_0_0_22858.cpp:46: error: no match for 'operator[]' in 'dp[m]'
825564_0_0_22858.cpp: At global scope:
825564_0_0_22858.cpp:48: error: expected unqualified-id at end of input
825564_0_0_22858.cpp:48: error: expected `,' or `;' at end of input


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-27 01:08:23, Gzip enabled