Problem do_you_like_me
User OSZ
Submission Time 2025-06-17 09:36:56
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:4:2: error: ‘str’ was not declared in this scope; did you mean ‘std’?
4 | str a; cin >> a;
| ^~~
| std
do_you_like_me.cpp:4:9: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
4 | str a; cin >> a;
| ^~~
| std::cin
In file included from do_you_like_me.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
do_you_like_me.cpp:4:16: error: ‘a’ was not declared in this scope
4 | str a; cin >> a;
| ^
do_you_like_me.cpp:5:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
5 | cout << "Yes! I would love to go on a date with you, " << a<< "\n";
| ^~~~
| std::cout
In file included from do_you_