Problem | helloworld |
---|---|
User | ZheKai |
Submission Time | 2025-02-08 10:09:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:16:7: error: conflicting declaration ‘char temp’
16 | char temp = '*';
| ^~~~
helloworld.cpp:10:7: note: previous declaration as ‘bool temp’
10 | bool temp = true;
| ^~~~