Problem helloworld
User tomatofrog0w0
Submission Time 2024-06-24 13:59:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:2:1: error: ‘usign’ does not name a type; did you mean ‘sin’?
2 | usign namespace std;
| ^~~~~
| sin
helloworld.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main {
| ^~~~
helloworld.cpp:4:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
4 | cout<<"Hello\n";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from helloworld.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
helloworld.cpp:4:17: error: expected ‘}’ before ‘;’ token
4 | cout<<"Hello\n";
| ^
helloworld.cpp:3:10: note: to match this ‘{’
3 | int main {
| ^
helloworld.cpp:5:2: error: ‘cout’ does not name a type