0_0_17805929_18003.cpp: In function 'int main()':
0_0_17805929_18003.cpp:24:11: error: reference to 'plus' is ambiguous
memset( plus , 0 , sizeof( plus ) ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:24:30: error: reference to 'plus' is ambiguous
memset( plus , 0 , sizeof( plus ) ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:25:12: error: reference to 'plus' is ambiguous
get_num( plus[ 0 ] ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:26:12: error: reference to 'plus' is ambiguous
get_num( plus[ 1 ] ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:27:3: error: reference to 'plus' is ambiguous
plus[ 2 ][ 0 ] = max( plus[ 0 ][ 0 ] , plus[ 1 ][ 0 ] ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:27:25: error: reference to 'plus' is ambiguous
plus[ 2 ][ 0 ] = max( plus[ 0 ][ 0 ] , plus[ 1 ][ 0 ] ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:27:42: error: reference to 'plus' is ambiguous
plus[ 2 ][ 0 ] = max( plus[ 0 ][ 0 ] , plus[ 1 ][ 0 ] ) ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:29:26: error: reference to 'plus' is ambiguous
for ( int i = 1 ; i <= plus[ 2 ][ 0 ] ; i ++ )
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:31:4: error: reference to 'plus' is ambiguous
plus[ 2 ][ i ] = plus[ 0 ][ i ] + plus[ 1 ][ i ] + temp ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:31:21: error: reference to 'plus' is ambiguous
plus[ 2 ][ i ] = plus[ 0 ][ i ] + plus[ 1 ][ i ] + temp ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:31:38: error: reference to 'plus' is ambiguous
plus[ 2 ][ i ] = plus[ 0 ][ i ] + plus[ 1 ][ i ] + temp ;
^
0_0_17805929_18003.cpp:7:5: note: candidates are: int plus [3][503]
int plus[ 3 ][ N ] ;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17805929_18003.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:167:12: note: template<class _Tp> struct std::plus
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
0_0_17805929_18003.cpp:32:11: error: reference to 'plus' is ambiguous
temp = plus[ 2 ][ i ] / 10 ;
|