Problem do_you_like_me
User nicc
Submission Time 2025-06-17 09:22:55
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:2:1: error: ‘string’ was not declared in this scope
2 | string x;
| ^~~~~~
do_you_like_me.cpp:3:1: error: ‘cin’ was not declared in this scope
3 | cin >> x;
| ^~~
do_you_like_me.cpp:3:8: error: ‘x’ was not declared in this scope
3 | cin >> x;
| ^
do_you_like_me.cpp:4:7: error: expected ‘;’ before ‘a’
4 | string a = "Yes!";
| ^~
| ;
do_you_like_me.cpp:5:7: error: expected ‘;’ before ‘b’
5 | string b = "I would love to go on a date with you,";
| ^~
| ;
do_you_like_me.cpp:6:7: error: expected ‘;’ before ‘c’
6 | string c = a + b + x;
| ^~
| ;
do_you_like_me.cpp:7:1: error: ‘cout’ was not declared in this scope
7 | cout << c;
| ^~~~
do_you_like_me.cpp:7:9: error: ‘c’ was not declared in this scope
7