0_0_36880414_2258.cpp: In function 'void solve()':
0_0_36880414_2258.cpp:102:18: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, int> > >::value_type' has no member named 'val'
if(shu[idx][0].val > x)
^
0_0_36880414_2258.cpp:111:21: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, int> > >::value_type' has no member named 'val'
if(shu[idx][mid].val > x) r = mid;
^
0_0_36880414_2258.cpp:114:29: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, int> > >::value_type' has no member named 'val'
ll ans = (x - shu[idx][l].val) / rd * n + shu[idx][l].id;
^
0_0_36880414_2258.cpp:114:57: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, int> > >::value_type' has no member named 'id'
ll ans = (x - shu[idx][l].val) / rd * n + shu[idx][l].id;
^
|