0_0_39382009_371.cpp: In function 'int main()':
0_0_39382009_371.cpp:29:11: error: no match for 'operator~' (operand type is 'std::istream' {aka 'std::basic_istream<char>'})
29 | while(~cin >> n >> m && n)
| ^~~~
0_0_39382009_371.cpp:29:11: note: candidate: 'operator~(int)' (built-in)
0_0_39382009_371.cpp:29:11: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'int'
In file included from .\stdc++.h:41:
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
| ~~~~~^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/streambuf:43,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/streambuf_iterator.h:35,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iterator:66,
from .\stdc++.h:54:
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)
| ~~~~~~~~~~~~~^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/format:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/chrono_io.h:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/chrono:3330,
from .\stdc++.h:172:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/charconv:653:3: note: candidate: 'constexpr std::chars_format std::operator~(chars_format)'
653 | operator~(chars_format __fmt) noexcept
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/charconv:653:26: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'std::chars_format'
653 | operator~(chars_format __fmt) noexcept
| ~~~~~~~~~~~~~^~~~~
In file included from .\stdc++.h:176:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/future:173:20: note: candidate: 'constexpr std::launch std::operator~(launch)'
173 | constexpr launch operator~(launch __x) noexcept
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/future:173:37: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'std::launch'
173 | constexpr launch operator~(launch __x) noexcept
| ~~~~~~~^~~
|