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_37731351_2404.cpp:3:1: error: 'll' does not name a type
 ll n,ans;
 ^
0_0_37731351_2404.cpp:4:1: error: 'll' does not name a type
 ll f[N];
 ^
0_0_37731351_2404.cpp: In function 'int main()':
0_0_37731351_2404.cpp:6:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_37731351_2404.cpp:7:12: error: 'f' was not declared in this scope
     memset(f,0x3f,sizeof f);
            ^
0_0_37731351_2404.cpp:7:27: error: 'memset' was not declared in this scope
     memset(f,0x3f,sizeof f);
                           ^
0_0_37731351_2404.cpp:12:38: error: 'min' was not declared in this scope
             f[j]=min(f[j],f[j-w[i]]+1);
                                      ^
0_0_37731351_2404.cpp:16:21: error: 'n' was not declared in this scope
       scanf("%lld",&n);
                     ^
0_0_37731351_2404.cpp:17:7: error: 'll' was not declared in this scope
       ll t=n/3650000;
       ^
0_0_37731351_2404.cpp:18:7: error: 'ans' was not declared in this scope
       ans=(ll)t*10000;
       ^
0_0_37731351_2404.cpp:20:29: error: 'puts' was not declared in this scope
       if(f[n]>=inf)puts("-1");
                             ^
0_0_37731351_2404.cpp:21:36: error: 'printf' was not declared in this scope
       else printf("%lld\n",ans+f[n]);
                                    ^


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-26 12:41:30, Gzip enabled