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_22131895_3873.cpp:7:1: error: stray '\243' in program
 int c[N], w[N]£¬ dp[N];
 ^
0_0_22131895_3873.cpp:7:1: error: stray '\254' in program
0_0_22131895_3873.cpp:7:18: error: expected initializer before 'dp'
 int c[N], w[N]£¬ dp[N];
                  ^
0_0_22131895_3873.cpp: In function 'int main()':
0_0_22131895_3873.cpp:14:32: error: 'w' was not declared in this scope
         FOR(i,1,n) scanf("%d", w + i);
                                ^
0_0_22131895_3873.cpp:15:16: error: 'dp' was not declared in this scope
         memset(dp, 0, sizeof dp);
                ^
0_0_22131895_3873.cpp:17:30: error: 'w' was not declared in this scope
             for (j = v; j >= w[i]; --j)
                              ^


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-25 04:18:16, Gzip enabled