Problem generosity
User Ant1234567890
Submission Time 2025-06-11 18:53:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

generosity.cpp:1:2: error: invalid preprocessing directive #inlude; did you mean #include?
1 | #inlude<iostream>
| ^~~~~~
| include
generosity.cpp: In function ‘int main()’:
generosity.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | cin>>x:
| ^~~
generosity.cpp:4:8: error: found ‘:’ in nested-name-specifier, expected ‘::’
4 | cin>>x:
| ^
| ::
generosity.cpp:4:7: error: ‘x’ is not a class, namespace, or enumeration
4 | cin>>x:
| ^