Problem helloworld
User Ninjatobs
Submission Time 2026-06-23 09:44:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:11: error: expected initializer before ‘==’ token
4 | string a == "hello world";
| ^~
helloworld.cpp:5:2: error: expected primary-expression before ‘<<’ token
5 | << cout << a;
| ^~
helloworld.cpp:5:13: error: ‘a’ was not declared in this scope
5 | << cout << a;
| ^