Problem | generosity |
---|---|
User | dev1634 |
Submission Time | 2023-02-17 20:10:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
generosity.cpp:3:16: error: stray ‘#’ in program
3 | cout << "Donate!";
| ^
generosity.cpp:3:28: error: stray ‘#’ in program
3 | cout << "Donate!";
| ^
generosity.cpp: In function ‘int main()’:
generosity.cpp:3:1: error: ‘cout’ was not declared in this scope
3 | cout << "Donate!";
| ^~~~
generosity.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
generosity.cpp:3:7: error: ‘lt’ was not declared in this scope
3 | cout << "Donate!";
| ^~
generosity.cpp:3:17: error: lvalue required as unary ‘&’ operand
3 | cout << "Donate!";
| ^~
generosity.cpp:3:20: error: ‘Donate’ was not declared in this scope
3 | cout << "