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_21644770_30308.cpp: In function 'void dp(int, int&, int&)':
0_0_21644770_30308.cpp:34:9: error: 'hhhh' was not declared in this scope
         hhhh += dp(v);
         ^
0_0_21644770_30308.cpp:34:21: error: too few arguments to function 'void dp(int, int&, int&)'
         hhhh += dp(v);
                     ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^
0_0_21644770_30308.cpp:36:12: error: 'hhhh' was not declared in this scope
     return hhhh;
            ^
0_0_21644770_30308.cpp:36:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
0_0_21644770_30308.cpp: In function 'int main()':
0_0_21644770_30308.cpp:57:28: error: too few arguments to function 'void dp(int, int&, int&)'
                 a[0] = dp(1), a[1] = dp(i), a[2] = dp(j);
                            ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^
0_0_21644770_30308.cpp:57:42: error: too few arguments to function 'void dp(int, int&, int&)'
                 a[0] = dp(1), a[1] = dp(i), a[2] = dp(j);
                                          ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^
0_0_21644770_30308.cpp:57:56: error: too few arguments to function 'void dp(int, int&, int&)'
                 a[0] = dp(1), a[1] = dp(i), a[2] = dp(j);
                                                        ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^
0_0_21644770_30308.cpp:72:28: error: too few arguments to function 'void dp(int, int&, int&)'
                 a[0] = dp(1), a[1] = dp(i), a[2] = dp(j);
                            ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^
0_0_21644770_30308.cpp:72:42: error: too few arguments to function 'void dp(int, int&, int&)'
                 a[0] = dp(1), a[1] = dp(i), a[2] = dp(j);
                                          ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^
0_0_21644770_30308.cpp:72:56: error: too few arguments to function 'void dp(int, int&, int&)'
                 a[0] = dp(1), a[1] = dp(i), a[2] = dp(j);
                                                        ^
0_0_21644770_30308.cpp:29:6: note: declared here
 void dp(int u,int&key,int&key2) {
      ^


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-26 12:30:58, Gzip enabled