Problem do_you_like_me
User OSZ
Submission Time 2025-06-17 10:48:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

do_you_like_me.cpp:2:1: error: ‘string’ does not name a type; did you mean ‘stdin’?
2 | string name;
| ^~~~~~
| stdin
do_you_like_me.cpp: In function ‘int main()’:
do_you_like_me.cpp:4:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
4 | cin >> name;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from do_you_like_me.cpp:1:
/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:4:12: error: ‘name’ was not declared in this scope; did you mean ‘tzname’?
4 | cin >> name;
| ^~~~
| tzname
do_you_like_me.cpp:5:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
5 | cout << "Yes! I would love to go on a