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_19991626_11476.cpp: In function 'int main()':
0_0_19991626_11476.cpp:8:5: error: 'll' was not declared in this scope
     ll T,n,x,y,z,t,ans,c=0,aa;
     ^
0_0_19991626_11476.cpp:11:20: error: 'T' was not declared in this scope
     scanf("%%lld",&T);
                    ^
0_0_19991626_11476.cpp:14:39: error: 'n' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&n,&x,&y,&z,&t);
                                       ^
0_0_19991626_11476.cpp:14:42: error: 'x' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&n,&x,&y,&z,&t);
                                          ^
0_0_19991626_11476.cpp:14:45: error: 'y' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&n,&x,&y,&z,&t);
                                             ^
0_0_19991626_11476.cpp:14:48: error: 'z' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&n,&x,&y,&z,&t);
                                                ^
0_0_19991626_11476.cpp:14:51: error: 't' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&n,&x,&y,&z,&t);
                                                   ^
0_0_19991626_11476.cpp:15:9: error: 'ans' was not declared in this scope
         ans=n*t*x;
         ^
0_0_19991626_11476.cpp:16:16: error: expected ';' before 'i'
         for(ll i=1;i<=n;i++)
                ^
0_0_19991626_11476.cpp:16:20: error: 'i' was not declared in this scope
         for(ll i=1;i<=n;i++)
                    ^
0_0_19991626_11476.cpp:17:16: error: expected ';' before 'j'
         for(ll j=0;j<=i;j++)
                ^
0_0_19991626_11476.cpp:17:20: error: 'j' was not declared in this scope
         for(ll j=0;j<=i;j++)
                    ^
0_0_19991626_11476.cpp:22:18: error: 'aa' was not declared in this scope
                  aa=dp[i-1][j-1]+(i-j)*((j-1)*z+t)*y;
                  ^
0_0_19991626_11476.cpp:25:13: error: 'aa' was not declared in this scope
             aa=dp[i][j]+((i-j)*y+x)*(j*z+t)*(n-i);
             ^
0_0_19991626_11476.cpp:29:39: error: 'c' was not declared in this scope
         printf("Case #%lld: %lld\n",++c,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-09-28 07:03:59, Gzip enabled