rack.cpp: In function 'void solve()':
rack.cpp:15:13: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
15 | int n, k; cin >> n >> k;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75,
from rack.cpp:1:
/usr/include/c++/11/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
rack.cpp:22:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
22 | cout << rec(rec, n, k);
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75,
from rack.cpp:1:
/usr/include/c++/11/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
rack.cpp: In function 'int main()':
rack.cpp:27:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
27 | cin.tie(nullptr)->sync_with_stdio(false);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75,
from rack.cpp:1:
/usr/include/c++/11/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
rack.cpp:31:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
31 | cout << endl;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75,
from rack.cpp:1:
/usr/include/c++/11/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
rack.cpp:31:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
31 | cout << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/11/istream:39,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from rack.cpp:1:
/usr/include/c++/11/ostream:684:5: note: 'std::endl' declared here
684 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~