0_0_39729122_18867.cpp: In function 'int getSG(int)':
0_0_39729122_18867.cpp:16:36: error: reference to 'set' is ambiguous
16 | int temp = value - set[i];
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/set:63,
from .\stdc++.h:158:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_set.h:94:11: note: candidates are: 'template<class _Key, class _Compare, class _Alloc> class std::set'
94 | class set
| ^~~
0_0_39729122_18867.cpp:6:5: note: 'int set [101]'
6 | int set[101];
| ^~~
0_0_39729122_18867.cpp: In function 'int main()':
0_0_39729122_18867.cpp:40:30: error: reference to 'set' is ambiguous
40 | cin>>set[i];
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_set.h:94:11: note: candidates are: 'template<class _Key, class _Compare, class _Alloc> class std::set'
94 | class set
| ^~~
0_0_39729122_18867.cpp:6:5: note: 'int set [101]'
6 | int set[101];
| ^~~
0_0_39729122_18867.cpp:42:14: error: reference to 'set' is ambiguous
42 | sort(set,set+setNum);
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_set.h:94:11: note: candidates are: 'template<class _Key, class _Compare, class _Alloc> class std::set'
94 | class set
| ^~~
0_0_39729122_18867.cpp:6:5: note: 'int set [101]'
6 | int set[101];
| ^~~
0_0_39729122_18867.cpp:42:18: error: reference to 'set' is ambiguous
42 | sort(set,set+setNum);
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_set.h:94:11: note: candidates are: 'template<class _Key, class _Compare, class _Alloc> class std::set'
94 | class set
| ^~~
0_0_39729122_18867.cpp:6:5: note: 'int set [101]'
6 | int set[101];
| ^~~
|