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_36666194_8184.cpp:10:7: error: 'll' does not name a type
 const ll llinf =1e18+10;
       ^
0_0_36666194_8184.cpp:11:7: error: 'll' does not name a type
 const ll mod = 1e9+7;
       ^
0_0_36666194_8184.cpp:14:1: error: 'll' does not name a type
 ll n,a,b,c,d;
 ^
0_0_36666194_8184.cpp:28:1: error: 'll' does not name a type
 ll calc(ll x,ll a,ll b)
 ^
0_0_36666194_8184.cpp: In function 'int main()':
0_0_36666194_8184.cpp:44:39: error: 'a' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                       ^
0_0_36666194_8184.cpp:44:42: error: 'b' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                          ^
0_0_36666194_8184.cpp:44:45: error: 'c' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                             ^
0_0_36666194_8184.cpp:44:48: error: 'd' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                                ^
0_0_36666194_8184.cpp:44:51: error: 'n' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                                   ^
0_0_36666194_8184.cpp:45:9: error: 'll' was not declared in this scope
         ll ans=llinf;
         ^
0_0_36666194_8184.cpp:49:16: error: expected ';' before 'A'
             ll A=(a*i+b);
                ^
0_0_36666194_8184.cpp:50:16: error: expected ';' before 'B'
             ll B=(c*i*i+d*i);
                ^
0_0_36666194_8184.cpp:52:64: error: 'upper_bound' was not declared in this scope
             int r = upper_bound(vec[i].begin(), vec[i].end(), n) - vec[i].begin();
                                                                ^
0_0_36666194_8184.cpp:55:16: error: 'A' was not declared in this scope
             if(A<=0)
                ^
0_0_36666194_8184.cpp:57:17: error: 'ans' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                 ^
0_0_36666194_8184.cpp:57:50: error: 'B' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                                                  ^
0_0_36666194_8184.cpp:57:51: error: 'calc' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                                                   ^
0_0_36666194_8184.cpp:62:20: error: expected ';' before 'ansL'
                 ll ansL=llinf,ansR=llinf;
                    ^
0_0_36666194_8184.cpp:67:21: error: 'ansL' was not declared in this scope
                     ansL = calc(vec[i][lmid],A,B),ansR = calc(vec[i][rmid],A,B);
                     ^
0_0_36666194_8184.cpp:67:48: error: 'B' was not declared in this scope
                     ansL = calc(vec[i][lmid],A,B),ansR = calc(vec[i][rmid],A,B);
                                                ^
0_0_36666194_8184.cpp:67:49: error: 'calc' was not declared in this scope
                     ansL = calc(vec[i][lmid],A,B),ansR = calc(vec[i][rmid],A,B);
                                                 ^
0_0_36666194_8184.cpp:67:51: error: 'ansR' was not declared in this scope
                     ansL = calc(vec[i][lmid],A,B),ansR = calc(vec[i][rmid],A,B);
                                                   ^
0_0_36666194_8184.cpp:76:17: error: 'ans' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                 ^
0_0_36666194_8184.cpp:76:33: error: 'ansL' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                                 ^
0_0_36666194_8184.cpp:76:38: error: 'ansR' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                                      ^
0_0_36666194_8184.cpp:79:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans);
                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 13:43:15, Gzip enabled