Problem eatinghealthy
User taqtru
Submission Time 2025-08-28 23:32:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatinghealthy.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++.h
| ^~~~
eatinghealthy.cpp: In function ‘int main()’:
eatinghealthy.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> a >> b >> c >> k:
| ^~~
eatinghealthy.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++.h
eatinghealthy.cpp:9:6: error: ‘else’ without a previous ‘if’
9 | }else{
| ^~~~
eatinghealthy.cpp:10:9: error: ‘cout’ was not declared in this scope
10 | cout << "YES";
| ^~~~
eatinghealthy.cpp:10:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?