input/code.cpp:5:7: error: expected nested-name-specifier before 'namesapce'
5 | using namesapce std;
| ^~~~~~~~~
input/code.cpp: In function 'void solve()':
input/code.cpp:10:15: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
10 | int n, k; cin >> n >> k;
| ^~~
| std::cin
In file included from input/code.cpp:1:
/usr/include/c++/13/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
input/code.cpp:12:5: error: 'vector' was not declared in this scope
12 | vector<int> v(n);
| ^~~~~~
input/code.cpp:12:5: note: suggested alternatives:
In file included from /usr/include/c++/13/vector:66,
from input/code.cpp:2:
/usr/include/c++/13/bits/stl_vector.h:428:11: note: 'std::vector'
428 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/usr/include/c++/...