Problem | basement |
---|---|
User | Henries |
Submission Time | 2025-01-15 12:18:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
basement.cpp: In function ‘int main()’:
basement.cpp:2:5: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
basement.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin.tie(NULL);
| ^~~
basement.cpp:3:13: error: ‘NULL’ was not declared in this scope
3 | cin.tie(NULL);
| ^~~~
basement.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | int main() {
basement.cpp:5:5: error: ‘ll’ was not declared in this scope
5 | ll n;
| ^~
basement.cpp:6:12: error: ‘n’ was not declared in this scope
6 | cin >> n;
| ^
basement.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<ll> B(n, 0); // 0-based indexing
| ^~~~~~
basement.cpp:7:16: error: ‘B’ w