Problem do_you_like_me
User l
Submission Time 2025-06-17 09:27:33
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:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> s;
| ^~~
do_you_like_me.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <string>
+++ |+#include <iostream>
2 | using namespace std;
do_you_like_me.cpp:7:2: error: ‘cout’ was not declared in this scope
7 | cout << "Yes! I would love to go on a date with you, " << s << ".";
| ^~~~
do_you_like_me.cpp:7:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?