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_33652116_17462.cpp:1:1: error: stray '##' in program
 ##include<bits/stdc++.h>
 ^
0_0_33652116_17462.cpp:1:3: error: 'include' does not name a type
 ##include<bits/stdc++.h>
   ^
0_0_33652116_17462.cpp: In function 'int main()':
0_0_33652116_17462.cpp:34:15: error: 'scanf' was not declared in this scope
  scanf("%d",&t);
               ^
0_0_33652116_17462.cpp:37:31: error: 'memset' was not declared in this scope
   memset(maps,MAX,sizeof(maps));
                               ^
0_0_33652116_17462.cpp:57:36: error: 'min' was not declared in this scope
   dp[j]=min(dp[j],dp[j-p[i]]+dis[i]);
                                    ^
0_0_33652116_17462.cpp:60:20: error: 'min' was not declared in this scope
   ans=min(ans,dp[i]);
                    ^
0_0_33652116_17462.cpp:61:37: error: 'printf' was not declared in this scope
   if(ans==MAX) printf("impossible\n");
                                     ^
0_0_33652116_17462.cpp:62:25: error: 'printf' was not declared in this scope
   else printf("%d\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-11-30 01:18:19, Gzip enabled