Problem burgers
User Vinayak01
Submission Time 2024-02-01 21:20:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

burgers.cpp: In function ‘int main()’:
burgers.cpp:7:12: error: incomplete type ‘std::ios_base’ used in nested name specifier
7 | ios_base::sync_with_stdio(false);
| ^~~~~~~~~~~~~~~
burgers.cpp:8:2: error: ‘cin’ was not declared in this scope
8 | cin.tie(nullptr);
| ^~~
burgers.cpp:4:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
3 | #include<limits.h>
+++ |+#include <iostream>
4 | using namespace std;
burgers.cpp:29:2: error: ‘cout’ was not declared in this scope
29 | cout << best <<"\n";
| ^~~~
burgers.cpp:29:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?