Problem cookieclickeralpha
User Shuhxin
Submission Time 2024-01-31 20:32:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cookieclickeralpha.cpp: In function ‘int main()’:
cookieclickeralpha.cpp:7:5: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
cookieclickeralpha.cpp:8:5: error: ‘cin’ was not declared in this scope
8 | cin.tie(0); cout.tie(0);
| ^~~
cookieclickeralpha.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
cookieclickeralpha.cpp:8:17: error: ‘cout’ was not declared in this scope
8 | cin.tie(0); cout.tie(0);
| ^~~~
cookieclickeralpha.cpp:8:17: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?