Problem helloworld
User LeoYoungLion
Submission Time 2026-11-13 15:57:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:13: error: declaration does not declare anything [-fpermissive]
3 | #define int string;
| ^~~~~~
helloworld.cpp:5:2: note: in expansion of macro ‘int’
5 | int a="Hello World";
| ^~~
helloworld.cpp:5:6: error: ‘a’ was not declared in this scope
5 | int a="Hello World";
| ^