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_18817853_21284.cpp: In function 'bool ok()':
0_0_18817853_21284.cpp:167:82: error: expected ']' at end of input
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
0_0_18817853_21284.cpp:167:76: error: no match for 'operator<=' (operand types are 'double' and 'point')
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                            ^
0_0_18817853_21284.cpp:167:76: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
                 from 0_0_18817853_21284.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:239:5: note: template<class _T1, class _T2> constexpr bool std::operator<=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:239:5: note:   template argument deduction/substitution failed:
0_0_18817853_21284.cpp:167:82: note:   mismatched types 'const std::pair<_T1, _T2>' and 'double'
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
                 from 0_0_18817853_21284.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:316:5: note: template<class _Iterator> bool std::operator<=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<=(const reverse_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:316:5: note:   template argument deduction/substitution failed:
0_0_18817853_21284.cpp:167:82: note:   mismatched types 'const std::reverse_iterator<_Iterator>' and 'double'
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
                 from 0_0_18817853_21284.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:366:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<=(const reverse_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:366:5: note:   template argument deduction/substitution failed:
0_0_18817853_21284.cpp:167:82: note:   mismatched types 'const std::reverse_iterator<_Iterator>' and 'double'
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
                 from 0_0_18817853_21284.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1084:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<=(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
     operator<=(const move_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1084:5: note:   template argument deduction/substitution failed:
0_0_18817853_21284.cpp:167:82: note:   mismatched types 'const std::move_iterator<_Iterator>' and 'double'
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
                 from 0_0_18817853_21284.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1090:5: note: template<class _Iterator> bool std::operator<=(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
     operator<=(const move_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1090:5: note:   template argument deduction/substitution failed:
0_0_18817853_21284.cpp:167:82: note:   mismatched types 'const std::move_iterator<_Iterator>' and 'double'
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
                 from 0_0_18817853_21284.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1547:5: note: template<class _Tp, class _Alloc> bool std::operator<=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
     operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1547:5: note:   template argument deduction/substitution failed:
0_0_18817853_21284.cpp:167:82: note:   mismatched types 'const std::vector<_Tp, _Alloc>' and 'double'
     if(res[0].x<=res[1].x&&res[1].x<=res[2].x&&res[0].y<=res[1].y&&res[1].y<=res[2
                                                                                  ^
0_0_18817853_21284.cpp:167:82: error: expected ')' at end of input
0_0_18817853_21284.cpp:167:82: error: expected statement at end of input
0_0_18817853_21284.cpp:167:82: error: expected '}' at end of input


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-09-29 03:33:22, Gzip enabled