Problem do_you_like_me
User Randomguy
Submission Time 2025-12-05 21:40:47
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:3:2: error: ‘string’ was not declared in this scope
3 | string s;
| ^~~~~~
do_you_like_me.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | using namespace std;
do_you_like_me.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | 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:4:9: error: ‘s’ was not declared in this scope
4 | cin >> s;
| ^
do_you_like_me.cpp:5:2: error: ‘cout’ was not declared in this scope
5 | cout << "Yes! I would love to goon a date with you, "<< {s} <<"."
| ^~~~
do_you_like_me.cpp: