Problem foreveralone
User 123456789
Submission Time 2023-04-28 14:12:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int32_t main()’:
foreveralone.cpp:6:12: error: uninitialized const ‘n’ [-fpermissive]
6 | const int n, m; cin >> n >> m;
| ^
foreveralone.cpp:6:15: error: uninitialized const ‘m’ [-fpermissive]
6 | const int n, m; cin >> n >> m;
| ^
foreveralone.cpp:6:22: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘const long long int’)
6 | const int n, m; cin >> n >> m;
| ~~~ ^~ ~
| | |
| | const long long int
| std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-