Problem do_you_like_me
User l
Submission Time 2025-06-17 09:40:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

do_you_like_me.cpp: In function ‘int main()’:
do_you_like_me.cpp:5:2: error: ‘string’ was not declared in this scope
5 | string s;
| ^~~~~~
do_you_like_me.cpp:5:2: note: suggested alternatives:
In file included from /usr/include/c++/9/string:39,
from do_you_like_me.cpp:1:
/usr/include/c++/9/bits/stringfwd.h:79:33: note: ‘std::string’
79 | typedef basic_string<char> string;
| ^~~~~~
In file included from do_you_like_me.cpp:1:
/usr/include/c++/9/string:67:11: note: ‘std::pmr::string’
67 | using string = basic_string<char>;
| ^~~~~~
do_you_like_me.cpp:6:14: error: ‘s’ was not declared in this scope
6 | std::cin >> s;
| ^