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_31754585_23253.cpp:11:8: error: 'maxn2' was not declared in this scope
 int vl[maxn2],we[maxn2];
        ^
0_0_31754585_23253.cpp:11:18: error: 'maxn2' was not declared in this scope
 int vl[maxn2],we[maxn2];
                  ^
0_0_31754585_23253.cpp: In function 'int main()':
0_0_31754585_23253.cpp:23:9: error: 'vl' was not declared in this scope
    cin>>vl[i];
         ^
0_0_31754585_23253.cpp:25:9: error: 'we' was not declared in this scope
    cin>>we[i];
         ^
0_0_31754585_23253.cpp:28:19: error: 'we' was not declared in this scope
    for(int j=v;j>=we[i];j--)
                   ^
0_0_31754585_23253.cpp:34:26: error: 'vl' was not declared in this scope
      b[l]=dp[j-we[i]][l]+vl[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-10-06 23:18:40, Gzip enabled