ricehub.cpp:1:32: warning: '-std=c++11' is not an option that controls warnings [-Wpragmas]
1 | #pragma GCC diagnostic warning "-std=c++11"
| ^~~~~~~~~~~~
ricehub.cpp: In function 'int besthub(int, int, int*, long long int)':
ricehub.cpp:27:42: error: conversion from '_Rb_tree_const_iterator<pair<long long int,long long int>>' to non-scalar type '_Rb_tree_const_iterator<pair<int,int>>' requested
27 | set<pii> :: iterator it2=s.upper_bound({X[i]+mid,n}),it1=s.lower_bound({X[i]-mid,0});
| ^
ricehub.cpp:27:74: error: conversion from '_Rb_tree_const_iterator<pair<long long int,long long int>>' to non-scalar type '_Rb_tree_const_iterator<pair<int,int>>' requested
27 | set<pii> :: iterator it2=s.upper_bound({X[i]+mid,n}),it1=s.lower_bound({X[i]-mid,0});
| ^