| Problem | squidzofrenzic |
|---|---|
| User | YH |
| Submission Time | 2025-10-30 18:50:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
squidzofrenzic.cpp:6:40: error: ‘vector’ has not been declared
6 | bool is_possible(int n, int m, ll mid, vector<ll> a) {
| ^~~~~~
squidzofrenzic.cpp:6:46: error: expected ‘,’ or ‘...’ before ‘<’ token
6 | bool is_possible(int n, int m, ll mid, vector<ll> a) {
| ^
squidzofrenzic.cpp: In function ‘bool is_possible(int, int, ll, int)’:
squidzofrenzic.cpp:11:18: error: ‘a’ was not declared in this scope
11 | if (curr_sum + a[i] > mid) {
| ^
squidzofrenzic.cpp:19:7: error: ‘a’ was not declared in this scope
19 | if (a[i] > mid) return false;
| ^
squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:31:2: error: ‘vector’ was not declared in this scope
31 | vector<ll> a(n);
| ^~~~~~
squidzofrenzic.cpp:2:1: note: ‘std::vector’ is defined in header