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]);
^
|