Problem generosity
User adammmamammamamamaamamam
Submission Time 2023-03-02 18:56:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

generosity.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include <<iostream;
| ^~
generosity.cpp:4:12: error: missing terminating " character
4 | cout <<"Hi!;
| ^~~~~
generosity.cpp: In function ‘int main()’:
generosity.cpp:4:5: error: ‘cout’ was not declared in this scope
4 | cout <<"Hi!;
| ^~~~
generosity.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include <<iostream;
generosity.cpp:5:2: error: expected primary-expression before ‘}’ token
5 | }
| ^