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_26623322_5315.cpp:1:7: error: 'll' does not name a type
 const ll inf = 1000000000ll;
       ^
0_0_26623322_5315.cpp: In function 'int pre(int, int)':
0_0_26623322_5315.cpp:10:16: error: 'inf' was not declared in this scope
         if(ret>inf || ret<=0)
                ^
0_0_26623322_5315.cpp: In function 'int dfs(int, int, int, int, int, int)':
0_0_26623322_5315.cpp:24:29: error: 'min' was not declared in this scope
         return max(0,min(r,b)-max(l,a)+1);
                             ^
0_0_26623322_5315.cpp:24:38: error: 'max' was not declared in this scope
         return max(0,min(r,b)-max(l,a)+1);
                                      ^
0_0_26623322_5315.cpp:24:41: error: 'max' was not declared in this scope
         return max(0,min(r,b)-max(l,a)+1);
                                         ^
0_0_26623322_5315.cpp:24:41: error: redeclaration of '<typeprefixerror>max'
0_0_26623322_5315.cpp:24:38: note: previous declaration '<typeprefixerror>max'
         return max(0,min(r,b)-max(l,a)+1);
                                      ^
0_0_26623322_5315.cpp:26:34: error: 'max' was not declared in this scope
     int down = max(a,l/pre(b,c-1));//涓嬬晫
                                  ^
0_0_26623322_5315.cpp:27:32: error: 'min' was not declared in this scope
     int up = min(b,r/pre(a,c-1));//涓婄晫
                                ^
0_0_26623322_5315.cpp: In function 'void solve(int, int, int, int, int, int)':
0_0_26623322_5315.cpp:44:28: error: 'max' was not declared in this scope
         int num = k+max(l,a)-1;
                            ^
0_0_26623322_5315.cpp:49:34: error: 'max' was not declared in this scope
     int down = max(a,l/pre(b,c-1));//涓嬬晫
                                  ^
0_0_26623322_5315.cpp:50:32: error: 'min' was not declared in this scope
     int up = min(b,r/pre(a,c-1));//涓婄晫
                                ^
0_0_26623322_5315.cpp: In function 'int main()':
0_0_26623322_5315.cpp:69:5: error: 'cin' was not declared in this scope
     cin>>T;
     ^
0_0_26623322_5315.cpp:76:9: error: 'cout' was not declared in this scope
         cout<<"Case #"<<cas++<<": ";
         ^
0_0_26623322_5315.cpp:87:24: error: 'endl' was not declared in this scope
             cout<<ret<<endl;
                        ^
0_0_26623322_5315.cpp:95:25: error: 'endl' was not declared in this scope
             cout<<"-1"<<endl;
                         ^


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-07-08 13:21:34, Gzip enabled