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_33572669_30825.cpp:4:1: error: 'll' does not name a type
 ll t,n,a[maxx],b[maxx],sum[maxx],dp[maxx][maxx];
 ^
0_0_33572669_30825.cpp: In function 'int main()':
0_0_33572669_30825.cpp:7:10: error: 't' was not declared in this scope
     cin>>t;
          ^
0_0_33572669_30825.cpp:10:14: error: 'n' was not declared in this scope
         cin>>n;
              ^
0_0_33572669_30825.cpp:12:18: error: 'a' was not declared in this scope
             cin>>a[i];
                  ^
0_0_33572669_30825.cpp:14:18: error: 'b' was not declared in this scope
             cin>>b[i];
                  ^
0_0_33572669_30825.cpp:16:13: error: 'sum' was not declared in this scope
             sum[i]=sum[i-1]+b[i];
             ^
0_0_33572669_30825.cpp:16:29: error: 'b' was not declared in this scope
             sum[i]=sum[i-1]+b[i];
                             ^
0_0_33572669_30825.cpp:19:17: error: 'dp' was not declared in this scope
                 dp[i][j]=inf;
                 ^
0_0_33572669_30825.cpp:20:9: error: 'dp' was not declared in this scope
         dp[0][0]=0;
         ^
0_0_33572669_30825.cpp:26:36: error: 'a' was not declared in this scope
                 if(j&&dp[i-1][j-1]+a[i]<=sum[i])
                                    ^
0_0_33572669_30825.cpp:26:42: error: 'sum' was not declared in this scope
                 if(j&&dp[i-1][j-1]+a[i]<=sum[i])
                                          ^


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 02:58:18, Gzip enabled