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_32358878_20780.cpp: In function 'int main()':
0_0_32358878_20780.cpp:4:2: error: 'dp2' was not declared in this scope
  dp2[1]=2;dp1[1]=1;dp3[1]=2;
  ^
0_0_32358878_20780.cpp:4:11: error: 'dp1' was not declared in this scope
  dp2[1]=2;dp1[1]=1;dp3[1]=2;
           ^
0_0_32358878_20780.cpp:4:20: error: 'dp3' was not declared in this scope
  dp2[1]=2;dp1[1]=1;dp3[1]=2;
                    ^
0_0_32358878_20780.cpp:5:12: error: 'max' was not declared in this scope
  for(i=2;i<max;i++)
            ^
0_0_32358878_20780.cpp:9:12: error: 'max' was not declared in this scope
  for(i=2;i<max;i++)//Çódp1 
            ^
0_0_32358878_20780.cpp:13:12: error: 'max' was not declared in this scope
  for(i=2;i<max;i++)
            ^
0_0_32358878_20780.cpp:17:15: error: 'scanf' was not declared in this scope
  scanf("%d",&t);
               ^
0_0_32358878_20780.cpp:21:22: error: 'printf' was not declared in this scope
   printf("%dn",dp3[n]);
                      ^


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-10-06 21:34:20, Gzip enabled