Problem | eatinghealthy |
---|---|
User | Surgemain |
Submission Time | 2025-08-28 16:18:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:9: error: ‘a’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:5:12: error: ‘b’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:5:15: error: ‘c’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:5:18: 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 this ‘{’