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