0_0_39134248_21255.cpp: In function 'int main()':
0_0_39134248_21255.cpp:29:15: error: no match for 'operator~' (operand type is 'std::istream' {aka 'std::basic_istream<char>'})
29 | while(~cin >> n >> m){
| ^~~~
0_0_39134248_21255.cpp:29:15: note: candidate: 'operator~(int)' (built-in)
0_0_39134248_21255.cpp:29:15: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'int'
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:58,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39134248_21255.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cstddef:150:3: note: candidate: 'constexpr std::byte std::operator~(byte)'
150 | operator~(byte __b) noexcept
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cstddef:150:18: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'std::byte'
150 | operator~(byte __b) noexcept
| ~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:95:3: note: candidate: 'constexpr std::_Ios_Fmtflags std::operator~(_Ios_Fmtflags)'
95 | operator~(_Ios_Fmtflags __a)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:95:27: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'std::_Ios_Fmtflags'
95 | operator~(_Ios_Fmtflags __a)
| ~~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:138:3: note: candidate: 'constexpr std::_Ios_Openmode std::operator~(_Ios_Openmode)'
138 | operator~(_Ios_Openmode __a)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:138:27: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'std::_Ios_Openmode'
138 | operator~(_Ios_Openmode __a)
| ~~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:178:3: note: candidate: 'constexpr std::_Ios_Iostate std::operator~(_Ios_Iostate)'
178 | operator~(_Ios_Iostate __a)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:178:26: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'std::_Ios_Iostate'
178 | operator~(_Ios_Iostate __a)
| ~~~~~~~~~~~~~^~~
|