| Problem | generosity |
|---|---|
| User | Foonaicode5 |
| Submission Time | 2026-09-02 16:01:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
generosity.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
generosity.cpp: In function ‘int main()’:
generosity.cpp:7:5: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
generosity.cpp:8:5: error: ‘cin’ was not declared in this scope
8 | cin.tie(NULL);
| ^~~
generosity.cpp:8:13: error: ‘NULL’ was not declared in this scope
8 | cin.tie(NULL);
| ^~~~
generosity.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | include <iostream>
generosity.cpp:15:9: error: ‘cout’ was not declared in this scope
15 | cout << 100 << "\n";
| ^~~~
generosity.cpp:18:9: error: ‘cout’ was not declared in this scope
18 | cout << "Be nice and you'll fi