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_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;
                                                         ^


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-11-16 07:41:50, Gzip enabled