| Problem | gemstones |
|---|---|
| User | Sans12345 |
| Submission Time | 2026-04-12 21:36:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gemstones.cpp:1:1: error: stray ‘\’ in program
1 | \#include <bits/stdc++.h>
| ^
gemstones.cpp:1:2: error: stray ‘#’ in program
1 | \#include <bits/stdc++.h>
| ^
gemstones.cpp:1:3: error: ‘include’ does not name a type
1 | \#include <bits/stdc++.h>
| ^~~~~~~
gemstones.cpp:11:1: error: ‘array’ does not name a type
11 | array<ll,3> quer[maxn];
| ^~~~~
gemstones.cpp:13:1: error: ‘deque’ does not name a type
13 | deque<ll> dq;
| ^~~~~
gemstones.cpp: In function ‘void addright()’:
gemstones.cpp:17:8: error: ‘dq’ was not declared in this scope
17 | if(dq.empty() || c[dq.back()]!=c[r]) dq.push_back(r);
| ^~
gemstones.cpp: In function ‘void addleft()’:
gemstones.cpp:26:8: error: ‘dq’ was not declared in this scope
26 | if(dq.empty() || c[dq.front()]!=c[l]) dq.push_front(l);
| ^~
gemstones.cpp: In function ‘