Problem sumint
User SkibidiScam123
Submission Time 2025-01-20 17:26:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:12:8: error: ‘sin’ is not a member of ‘std’; did you mean ‘cin’?
12 | std::sin >> a;
| ^~~
| cin
sumint.cpp: At global scope:
sumint.cpp:17:6: error: ‘cout’ in namespace ‘std’ does not name a type
17 | std::cout << out;
| ^~~~
In file included from sumint.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
sumint.cpp:19:1: error: expected unqualified-id before ‘return’
19 | return 0;
| ^~~~~~
sumint.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^