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_33627451_32707.cpp:5:1: error: 'll' does not name a type
 ll ans,p[1005][2],f[1000005][2];
 ^
0_0_33627451_32707.cpp: In function 'int main()':
0_0_33627451_32707.cpp:25:7: error: 'p' was not declared in this scope
    rd(p[i][k]);
       ^
0_0_33627451_32707.cpp:29:22: error: 'f' was not declared in this scope
   for(i=1;i<=upp;++i)f[i][0]=f[i][1]=-1e16;
                      ^
0_0_33627451_32707.cpp:30:3: error: 'f' was not declared in this scope
   f[0][0]=f[0][1]=0;
   ^
0_0_33627451_32707.cpp:38:26: error: 'p' was not declared in this scope
      if (f[j-w[i][k]][k]+p[i][k]>f[j][k]) f[j][k]=f[j-w[i][k]][k]+p[i][k];
                          ^
0_0_33627451_32707.cpp:43:3: error: 'ans' was not declared in this scope
   ans=0;
   ^


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-15 19:47:36, Gzip enabled