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_25675295_17106.cpp:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^
0_0_25675295_17106.cpp: In function 'int main()':
0_0_25675295_17106.cpp:8:30: error: 'scanf' was not declared in this scope
     while(scanf("%d %d",&n,&m) != EOF)
                              ^
0_0_25675295_17106.cpp:8:35: error: 'EOF' was not declared in this scope
     while(scanf("%d %d",&n,&m) != EOF)
                                   ^
0_0_25675295_17106.cpp:10:33: error: 'memset' was not declared in this scope
         memset(dp,INF,sizeof(dp));
                                 ^
0_0_25675295_17106.cpp:21:75: error: 'min' was not declared in this scope
                         dp[i][j] = min(dp[i][j - b[t] + i] + k[t],dp[i][j]);
                                                                           ^
0_0_25675295_17106.cpp:23:64: error: 'min' was not declared in this scope
                         dp[i][j] = min(dp[i][j],(long long)k[t]);
                                                                ^
0_0_25675295_17106.cpp:34:28: error: 'printf' was not declared in this scope
         printf("%lld\n",ans);
                            ^


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-06-29 08:31:02, Gzip enabled