0_0_16463209_13224.cpp: In function 'void RMQ_INIT()':
0_0_16463209_13224.cpp:27:61: error: 'min' was not declared in this scope
dp[i][j] = min(dp[i][j-1] , dp[i+(1<<(j-1))][j-1]) ;
^
0_0_16463209_13224.cpp: In function 'int RMQ(int, int)':
0_0_16463209_13224.cpp:34:44: error: 'min' was not declared in this scope
return min(dp[L][k] , dp[R-(1<<k)+1][k]) ;
^
0_0_16463209_13224.cpp: In function 'void Ans()':
0_0_16463209_13224.cpp:39:6: error: 'vector' was not declared in this scope
vector<Hotel> ans ;
^
0_0_16463209_13224.cpp:39:18: error: expected primary-expression before '>' token
vector<Hotel> ans ;
^
0_0_16463209_13224.cpp:39:20: error: 'ans' was not declared in this scope
vector<Hotel> ans ;
^
0_0_16463209_13224.cpp:40:18: error: expected primary-expression before '>' token
vector<Hotel> ::iterator it ;
^
0_0_16463209_13224.cpp:40:20: error: '::iterator' has not been declared
vector<Hotel> ::iterator it ;
^
0_0_16463209_13224.cpp:54:35: error: 'sort' was not declared in this scope
sort(ans.begin() , ans.end()) ;
^
0_0_16463209_13224.cpp:55:33: error: 'printf' was not declared in this scope
printf("%d\n" , ans.size()) ;
^
0_0_16463209_13224.cpp:56:11: error: 'it' was not declared in this scope
for(it = ans.begin() ; it != ans.end() ; it++){
^
0_0_16463209_13224.cpp: In function 'int main()':
0_0_16463209_13224.cpp:64:25: error: 'scanf' was not declared in this scope
while(scanf("%d" ,&n) != EOF){
^
0_0_16463209_13224.cpp:64:30: error: 'EOF' was not declared in this scope
while(scanf("%d" ,&n) != EOF){
^
0_0_16463209_13224.cpp:65:39: error: 'fill' was not declared in this scope
fill(dist , dist+Max_N+5 , inf) ;
^
0_0_16463209_13224.cpp:69:52: error: 'min' was not declared in this scope
dist[price+1] = min(dist[price+1] , dis) ;
^
|