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_36841611_18354.cpp:4:7: error: 'll' does not name a type
 const ll inf=1e18;
       ^
0_0_36841611_18354.cpp:5:1: error: 'll' does not name a type
 ll T,a,b,c,d,n,ans;
 ^
0_0_36841611_18354.cpp:7:1: error: 'll' does not name a type
 ll g(ll x){
 ^
0_0_36841611_18354.cpp: In function 'void init()':
0_0_36841611_18354.cpp:12:40: error: 'g' was not declared in this scope
 void init(){for(int i=1;i<=N;i++) m[g(i)].push_back(i);}
                                        ^
0_0_36841611_18354.cpp: At global scope:
0_0_36841611_18354.cpp:13:1: error: 'll' does not name a type
 ll doit(ll x,ll a,ll b){return a*x*x+b*x;}
 ^
0_0_36841611_18354.cpp: In function 'int main()':
0_0_36841611_18354.cpp:15:15: error: 'T' was not declared in this scope
  init(); cin>>T;
               ^
0_0_36841611_18354.cpp:17:8: error: 'a' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
        ^
0_0_36841611_18354.cpp:17:11: error: 'b' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
           ^
0_0_36841611_18354.cpp:17:14: error: 'c' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
              ^
0_0_36841611_18354.cpp:17:17: error: 'd' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
                 ^
0_0_36841611_18354.cpp:17:20: error: 'n' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
                    ^
0_0_36841611_18354.cpp:17:23: error: 'ans' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
                       ^
0_0_36841611_18354.cpp:17:27: error: 'inf' was not declared in this scope
   cin>>a>>b>>c>>d>>n; ans=inf;
                           ^
0_0_36841611_18354.cpp:20:4: error: 'll' was not declared in this scope
    ll A=a*i+b,B=c*i*i+d*i;
    ^
0_0_36841611_18354.cpp:24:7: error: 'A' was not declared in this scope
    if(A<=0) ans=min(ans,min(doit(m[i][0],A,B),doit(m[i][r],A,B)));
       ^
0_0_36841611_18354.cpp:24:44: error: 'B' was not declared in this scope
    if(A<=0) ans=min(ans,min(doit(m[i][0],A,B),doit(m[i][r],A,B)));
                                            ^
0_0_36841611_18354.cpp:24:45: error: 'doit' was not declared in this scope
    if(A<=0) ans=min(ans,min(doit(m[i][0],A,B),doit(m[i][r],A,B)));
                                             ^
0_0_36841611_18354.cpp:26:8: error: expected ';' before 'left'
     ll left=inf,right=inf;
        ^
0_0_36841611_18354.cpp:29:38: error: 'B' was not declared in this scope
      left=min(left,doit(m[i][lmid],A,B));
                                      ^
0_0_36841611_18354.cpp:29:39: error: 'doit' was not declared in this scope
      left=min(left,doit(m[i][lmid],A,B));
                                       ^


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.015601(s) query 1, Server time : 2024-07-06 01:03:55, Gzip enabled