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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
                 from 0_0_35199920_25481.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'bool std::binary_search(_FIter, _FIter, const _Tp&) [with _FIter = int; _Tp = int]':
0_0_35199920_25481.cpp:16:37:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2262:2: error: no type named 'value_type' in 'struct std::iterator_traits<int>'
  _ValueType;
  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2273:41: error: invalid type argument of unary '*' (have 'int')
       return __i != __last && !(__val < *__i);
                                         ^


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-26 13:30:17, Gzip enabled