Problem do_you_like_me
User RaphaelTanKaiJie1000
Submission Time 2025-06-17 10:04:40
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:8:56: error: no match for ‘operator>>’ (operand types are ‘std::basic_ostream<char>’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
8 | cout << "Yes! I would love to go on a date with you, ">> Name>> ".";
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ~~~~
| | |
| std::basic_ostream<char> std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/9/string:56,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from do_you_like_me