commuter_pass.cpp: In function 'int main()':
commuter_pass.cpp:46:14: error: 'std::ios_base::ios_base()' is protected within this context
46 | ios_base()::sync_with_stdio(false); cin.tie(0);
| ^
In file included from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
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 commuter_pass.cpp:1:
/usr/include/c++/11/bits/ios_base.h:879:5: note: declared protected here
879 | ios_base() throw ();
| ^~~~~~~~
commuter_pass.cpp:46:15: error: expected ';' before '::' token
46 | ios_base()::sync_with_stdio(false); cin.tie(0);
| ^~
| ;
commuter_pass.cpp:57:15: error: 'ds' was not declared in this scope; did you mean 'dS'?
57 | int TOT = ds[t];
| ^~
| dS
commuter_pass.cpp:60:17: error: 'marked' was not declared in this scope; did you mean 'mark'?
60 | marked[i]=1;
| ^~~~~~
| mark
commuter_pass.cpp:64:12: error: 'marked' was not declared in this scope; did you mean 'mark'?
64 | if(marked[i]){
| ^~~~~~
| mark