| Problem | sandwich |
|---|---|
| User | gohchingjayk |
| Submission Time | 2026-06-18 16:12:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sandwich.cpp:11:1: error: expected unqualified-id before ‘/’ token
11 | /constexpr int MAXN = 2'500'000 + 5;
| ^
sandwich.cpp:83:7: error: ‘MAXN’ was not declared in this scope
83 | int A[MAXN];
| ^~~~
sandwich.cpp: In function ‘int main()’:
sandwich.cpp:89:35: error: ‘A’ was not declared in this scope
89 | for (int i = 0; i < N; ++i) read(A[i]);
| ^
sandwich.cpp:94:26: error: ‘A’ was not declared in this scope
94 | while (!stk.empty() && A[stk.back()] < A[i]) {
| ^
sandwich.cpp:105:26: error: ‘A’ was not declared in this scope
105 | while (!stk.empty() && A[stk.back()] < A[i]) {
| ^