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_30196267_12335.cpp:1:1: error: 'sing' does not name a type
 sing namespace std;
 ^
0_0_30196267_12335.cpp: In function 'int main()':
0_0_30196267_12335.cpp:5:30: error: 'scanf' was not declared in this scope
     while(~scanf("%d%d",&n,&m)){
                              ^
0_0_30196267_12335.cpp:11:31: error: 'memset' was not declared in this scope
         memset(dp,0,sizeof(dp));
                               ^
0_0_30196267_12335.cpp:17:47: error: 'max' was not declared in this scope
                dp[k]=max(dp[k],dp[k-a[i]]+a[i]);
                                               ^
0_0_30196267_12335.cpp:22:27: error: 'printf' was not declared in this scope
         printf("%d\n",Cout);
                           ^


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-07-06 02:19:15, Gzip enabled