0_0_39615255_12394.cpp: In function 'void solve()':
0_0_39615255_12394.cpp:17:9: error: no match for 'operator>>' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'char*')
17 | cin >> (p + 1);
| ~~~ ^~ ~~~~~~~
| | |
| | char*
| std::istream {aka std::basic_istream<char>}
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:42,
from 0_0_39615255_12394.cpp:4:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:325:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
325 | operator>>(void*& __p)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:325:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: cannot bind non-const lvalue reference of type 'void*&' to an rvalue of type 'void*'
17 | cin >> (p + 1);
| ~~~^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:201:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
201 | operator>>(unsigned long long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:201:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'long long unsigned int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(long long unsigned int)(((char*)(& p)) + 1)' to 'long long unsigned int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:197:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
197 | operator>>(long long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:197:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'long long int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(long long int)(((char*)(& p)) + 1)' to 'long long int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:192:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
192 | operator>>(unsigned long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:192:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'long unsigned int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(long unsigned int)(((char*)(& p)) + 1)' to 'long unsigned int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:188:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
188 | operator>>(long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:188:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'long int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(long int)(((char*)(& p)) + 1)' to 'long int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:184:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
184 | operator>>(unsigned int& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:184:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'unsigned int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(unsigned int)(((char*)(& p)) + 1)' to 'unsigned int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:181:7: note: candidate: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]' (near match)
181 | operator>>(int& __n);
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:181:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(int)(((char*)(& p)) + 1)' to 'int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:177:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
177 | operator>>(unsigned short& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:177:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'short unsigned int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(short unsigned int)(((char*)(& p)) + 1)' to 'short unsigned int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:174:7: note: candidate: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]' (near match)
174 | operator>>(short& __n);
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:174:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: invalid conversion from 'char*' to 'short int' [-fpermissive]
17 | cin >> (p + 1);
| ~~~^~~~
| |
| char*
0_0_39615255_12394.cpp:17:15: error: cannot bind rvalue '(short int)(((char*)(& p)) + 1)' to 'short int&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:170:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
170 | operator>>(bool& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:170:7: note: conversion of argument 1 would be ill-formed:
0_0_39615255_12394.cpp:17:15: error: cannot bind non-const lvalue reference of type 'bool&' to a value of type 'char*'
17 | cin >> (p + 1);
| ~~~^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:224:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]'
224 | operator>>(long double& __f)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:224:31: note: no known conversion for argument 1 from 'char*' to 'long double&'
224 | operator>>(long double& __f)
| ~~~~~~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:220:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]'
220 | operator>>(double& __f)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:220:26: note: no known conversion for argument 1 from 'char*' to 'double&'
220 | operator>>(double& __f)
| ~~~~~~~~^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:
|