Problem helloworld
User Elliott2011
Submission Time 2024-11-12 16:03:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
1 | #include
| ^
helloworld.cpp:2:1: error: expected unqualified-id before ‘<’ token
2 | <bits/stdc++.h>
| ^
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:6:2: error: ‘string’ was not declared in this scope
6 | string s = "Hello World" ;
| ^~~~~~
helloworld.cpp:7:2: error: ‘cout’ was not declared in this scope
7 | cout << s;
| ^~~~
helloworld.cpp:7:10: error: ‘s’ was not declared in this scope
7 | cout << s;
| ^
helloworld.cpp:8:11: error: expected ‘}’ at end of input
8 | return 0;
| ^
helloworld.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^