Problem | ultimateifelse |
---|---|
User | om2024 |
Submission Time | 2024-07-04 17:11:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp:2:16: error: expected identifier before ‘;’ token
2 | using namespace;
| ^
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:5:9: error: ‘string’ was not declared in this scope
5 | int n; string s;
| ^~~~~~
ultimateifelse.cpp:5:9: note: suggested alternatives:
In file included from /usr/include/c++/9/iosfwd:39,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from ultimateifelse.cpp:1:
/usr/include/c++/9/bits/stringfwd.h:79:33: note: ‘std::string’
79 | typedef basic_string<char> string;
| ^~~~~~
In f