Problem staircase
User gelastropod
Submission Time 2025-09-22 18:16:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

staircase.cpp: In function ‘int main()’:
staircase.cpp:9:2: error: ‘bitset’ was not declared in this scope
9 | bitset<200001> e{1};
| ^~~~~~
staircase.cpp:4:1: note: ‘std::bitset’ is defined in header ‘<bitset>’; did you forget to ‘#include <bitset>’?
3 | #include <algorithm>
+++ |+#include <bitset>
4 | using namespace std;
staircase.cpp:9:17: error: ‘e’ was not declared in this scope
9 | bitset<200001> e{1};
| ^