0_0_37418113_14598.cpp: In function 'int main()':
0_0_37418113_14598.cpp:21:8: error: reference to 'array' is ambiguous
cin>>array[i].start>>array[i].end;
^
0_0_37418113_14598.cpp:5:2: note: candidates are: table array [210]
}array[210];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_37418113_14598.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_37418113_14598.cpp:21:24: error: reference to 'array' is ambiguous
cin>>array[i].start>>array[i].end;
^
0_0_37418113_14598.cpp:5:2: note: candidates are: table array [210]
}array[210];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_37418113_14598.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_37418113_14598.cpp:22:8: error: reference to 'array' is ambiguous
sort(array+1,array+n+1,cmp);
^
0_0_37418113_14598.cpp:5:2: note: candidates are: table array [210]
}array[210];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_37418113_14598.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_37418113_14598.cpp:22:16: error: reference to 'array' is ambiguous
sort(array+1,array+n+1,cmp);
^
0_0_37418113_14598.cpp:5:2: note: candidates are: table array [210]
}array[210];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_37418113_14598.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_37418113_14598.cpp:26:7: error: reference to 'array' is ambiguous
if(array[i].end>=array[i+1].start-1)
^
0_0_37418113_14598.cpp:5:2: note: candidates are: table array [210]
}array[210];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_37418113_14598.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_37418113_14598.cpp:26:21: error: reference to 'array' is ambiguous
if(array[i].end>=array[i+1].start-1)
^
0_0_37418113_14598.cpp:5:2: note: candidates are: table array [210]
}array[210];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_37418113_14598.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
|