Problem eatinghealthy
User Surgemain
Submission Time 2025-08-28 16:18:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatinghealthy.cpp: In function ‘int main()’:
eatinghealthy.cpp:5:5: error: declaration does not declare anything [-fpermissive]
5 | int ;a, b, c, k;
| ^~~
eatinghealthy.cpp:5:10: error: ‘a’ was not declared in this scope
5 | int ;a, b, c, k;
| ^
eatinghealthy.cpp:5:13: error: ‘b’ was not declared in this scope
5 | int ;a, b, c, k;
| ^
eatinghealthy.cpp:5:16: error: ‘c’ was not declared in this scope
5 | int ;a, b, c, k;
| ^
eatinghealthy.cpp:5:19: error: ‘k’ was not declared in this scope
5 | int ;a, b, c, k;
| ^
eatinghealthy.cpp:8:20: error: expected identifier before ‘(’ token
8 | if(a+b+c > k) and (a+b+c=k+k)
| ^
eatinghealthy.cpp:11:9: error: expected ‘}’ at end of input
11 | cout<<"no"
| ^~~~
eatinghealthy.cpp:4:12: note: to match t