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