Problem | basement |
---|---|
User | Henries |
Submission Time | 2025-01-15 12:19:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
basement.cpp: In function ‘int main()’:
basement.cpp:8:5: error: ‘ll’ was not declared in this scope
8 | ll n;
| ^~
basement.cpp:9:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | cin >> n;
| ^
| yn
basement.cpp:10:14: error: template argument 2 is invalid
10 | vector<ll> B(n, 0); // 0-based indexing
| ^
basement.cpp:10:22: error: expression list treated as compound expression in initializer [-fpermissive]
10 | vector<ll> B(n, 0); // 0-based indexing
| ^
basement.cpp:13:19: error: invalid types ‘int[int]’ for array subscript
13 | cin >> B[i];
| ^
basement.cpp:17:14: error: template argument 2 is invalid
17 | vector<ll> initial(n, 1);
| ^
basement.cpp:17:28: error: expression list treated as compound