Problem bobek
User Pan
Submission Time 2023-09-06 16:05:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bobek.cpp: In function ‘int main()’:
bobek.cpp:10:5: error: ‘cin’ was not declared in this scope
10 | cin >> N >> M;
| ^~~
bobek.cpp:5:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
4 | #include <bitset>
+++ |+#include <iostream>
5 | typedef long long ll;
bobek.cpp:65:5: error: ‘cout’ was not declared in this scope
65 | cout << ans << endl;
| ^~~~
bobek.cpp:65:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
bobek.cpp:65:20: error: ‘endl’ was not declared in this scope
65 | cout << ans << endl;
| ^~~~
bobek.cpp:5:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
4 | #include <bitset>
+++ |+#include <ostream>
5 | ty