Problem yayornay
User Aryankcode2024
Submission Time 2024-06-21 12:46:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

yayornay.cpp: In function ‘int main()’:
yayornay.cpp:2:17: error: expected identifier before ‘<’ token
2 | using namespace<std>
| ^
yayornay.cpp:2:17: error: expected ‘;’ before ‘<’ token
2 | using namespace<std>
| ^
| ;
yayornay.cpp:2:17: error: expected primary-expression before ‘<’ token
yayornay.cpp:2:21: error: expected primary-expression before ‘>’ token
2 | using namespace<std>
| ^
yayornay.cpp:4:7: error: ‘string’ is not a member of ‘std’
4 | std::string suggestion;
| ^~~~~~
yayornay.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | int main(){
yayornay.cpp:5:7: error: ‘cin’ is not a member of ‘std’
5 | std::cin >> suggestion;
| ^~~
yayornay