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_36662994_22233.cpp:3:7: error: 'll' does not name a type
 const ll llinf =1e18+10;
       ^
0_0_36662994_22233.cpp:4:7: error: 'll' does not name a type
 const ll mod = 1e9+7;
       ^
0_0_36662994_22233.cpp:5:26: error: 'acos' was not declared in this scope
 const double pi = acos(-1);
                          ^
0_0_36662994_22233.cpp:8:1: error: 'll' does not name a type
 ll n,a,b,c,d;
 ^
0_0_36662994_22233.cpp:9:1: error: 'vector' does not name a type
 vector<int>vec[100];
 ^
0_0_36662994_22233.cpp:22:1: error: 'll' does not name a type
 ll calc(ll x,ll a,ll b)
 ^
0_0_36662994_22233.cpp: In function 'int main()':
0_0_36662994_22233.cpp:32:9: error: 'vec' was not declared in this scope
         vec[work(i)].push_back(i);
         ^
0_0_36662994_22233.cpp:35:18: error: 'scanf' was not declared in this scope
     scanf("%d",&_);
                  ^
0_0_36662994_22233.cpp:38:39: error: 'a' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                       ^
0_0_36662994_22233.cpp:38:42: error: 'b' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                          ^
0_0_36662994_22233.cpp:38:45: error: 'c' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                             ^
0_0_36662994_22233.cpp:38:48: error: 'd' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                                ^
0_0_36662994_22233.cpp:38:51: error: 'n' was not declared in this scope
         scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&n);
                                                   ^
0_0_36662994_22233.cpp:39:9: error: 'll' was not declared in this scope
         ll ans=llinf;
         ^
0_0_36662994_22233.cpp:42:16: error: 'vec' was not declared in this scope
             if(vec[i].size()==0)continue;
                ^
0_0_36662994_22233.cpp:43:16: error: expected ';' before 'A'
             ll A=(a*i+b);
                ^
0_0_36662994_22233.cpp:44:16: error: expected ';' before 'B'
             ll B=(c*i*i+d*i);
                ^
0_0_36662994_22233.cpp:46:33: error: 'vec' was not declared in this scope
             int r = upper_bound(vec[i].begin(), vec[i].end(), n) - vec[i].begin();
                                 ^
0_0_36662994_22233.cpp:46: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_36662994_22233.cpp:49:16: error: 'A' was not declared in this scope
             if(A<=0)
                ^
0_0_36662994_22233.cpp:51:17: error: 'ans' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                 ^
0_0_36662994_22233.cpp:51:50: error: 'B' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                                                  ^
0_0_36662994_22233.cpp:51:51: error: 'calc' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                                                   ^
0_0_36662994_22233.cpp:51:52: error: 'min' was not declared in this scope
                 ans=min(ans,calc(1LL*vec[i][0],A,B));
                                                    ^
0_0_36662994_22233.cpp:56:20: error: expected ';' before 'ansL'
                 ll ansL=llinf,ansR=llinf;
                    ^
0_0_36662994_22233.cpp:61: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_36662994_22233.cpp:61: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_36662994_22233.cpp:61: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_36662994_22233.cpp:61: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_36662994_22233.cpp:70:17: error: 'ans' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                 ^
0_0_36662994_22233.cpp:70:33: error: 'ansL' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                                 ^
0_0_36662994_22233.cpp:70:38: error: 'ansR' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                                      ^
0_0_36662994_22233.cpp:70:42: error: 'min' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                                          ^
0_0_36662994_22233.cpp:70:43: error: 'min' was not declared in this scope
                 ans=min(ans,min(ansL,ansR));
                                           ^
0_0_36662994_22233.cpp:70:43: error: redeclaration of '<typeprefixerror>min'
0_0_36662994_22233.cpp:70:42: note: previous declaration '<typeprefixerror>min'
                 ans=min(ans,min(ansL,ansR));
                                          ^
0_0_36662994_22233.cpp:73:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans);
                         ^
0_0_36662994_22233.cpp:73:28: error: 'printf' was not declared in this scope
         printf("%lld\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-12-02 11:53:02, Gzip enabled