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

Compile Error

childsetter2.cpp: In function ‘int main()’:
childsetter2.cpp:4:12: error: ‘sync_with_Stdio’ is not a member of ‘std::ios_base’
4 | ios_base::sync_with_Stdio(0);cin.tie(0);
| ^~~~~~~~~~~~~~~
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: