Problem do_you_like_me
User Jonnu
Submission Time 2025-11-10 07:55:03
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: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~~~~~~
do_you_like_me.cpp:5:32: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~
| std::cin
In file included from do_you_like_me.cpp:2:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
do_you_like_me.cpp:6:2: error: ‘string’ was not declared in this scope
6 | string name;
| ^~~~~~
do_you_like_me.cpp:6: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’
7