Problem childsetter2
User G
Submission Time 2024-12-18 10:24:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

childsetter2.cpp: In function ‘int main()’:
childsetter2.cpp:5:2: error: ‘ll’ was not declared in this scope
5 | ll n,m;cin>>n>>m;
| ^~
childsetter2.cpp:5:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | ll n,m;cin>>n>>m;
| ^
| yn
childsetter2.cpp:5:17: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
5 | ll n,m;cin>>n>>m;
| ^
| tm
childsetter2.cpp:6:11: error: template argument 2 is invalid
6 | vector<ll> v(n);
| ^
childsetter2.cpp:7:14: error: ‘begin’ was not declared in this scope
7 | for(auto &a:v)cin>>a;
| ^
childsetter2.cpp:7:14: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from childsetter2.cpp:1:
/usr/include/c++