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_36701829_8507.cpp: In function 'void mergeBound(Point*, int, Point*, int, bool)':
0_0_36701829_8507.cpp:96:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = p1[0] + p2[0];
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:102:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = p1[pNum1 - 1] + p2[pNum2 ++];
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:106:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = p1[pNum1 ++] + p2[pNum2 - 1];
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:117:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = temp1;
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:122:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = temp2;
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:130:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = temp1;
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:135:1: error: reference to 'merge' is ambiguous
 merge[mergeNumber++] = temp2;
 ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp: In function 'double solve(int, int)':
0_0_36701829_8507.cpp:180:29: error: reference to 'merge' is ambiguous
 ans = max(ans, fabs((double)merge[i].y) / sqrt((double)merge[i].x));
                             ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
0_0_36701829_8507.cpp:180:56: error: reference to 'merge' is ambiguous
 ans = max(ans, fabs((double)merge[i].y) / sqrt((double)merge[i].x));
                                                        ^
0_0_36701829_8507.cpp:12:44: note: candidates are: Point merge [200020]
 }point[MAXN], high[2][MAXN], low[2][MAXN], merge[MAXN * 2];
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_36701829_8507.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4814:5: note:                 template<class _IIter1, class _IIter2, class _OIter, class _Compare> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter, _Compare)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4766:5: note:                 template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)
     merge(_InputIterator1 __first1, _InputIterator1 __last1,
     ^


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-22 22:41:50, Gzip enabled