Problem helloworld
User gOrDoN
Submission Time 2026-03-11 17:29:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:15:12: error: invalid operands of types ‘float’ and ‘float’ to binary ‘operator%’
15 | int e = (a%(b+c)
| ~^~~~~~
| | |
| | float
| float
helloworld.cpp:15:18: error: expected ‘)’ before ‘f’
15 | int e = (a%(b+c)
| ~ ^
| )
16 | f = e*x*(y/z)
| ~
helloworld.cpp:24:19: error: ‘i’ was not declared in this scope
24 | for(int i = 0; e>i; i++){
| ^
helloworld.cpp:27:23: error: expected ‘;’ before ‘}’ token
27 | cout << "Hello World"
| ^
| ;
28 | }
| ~