Problem | sequence_apio |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-16 01:11:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sequence_apio.cpp: In function ‘int main()’:
sequence_apio.cpp:47:9: error: ‘ll’ was not declared in this scope
47 | pair<ll,ll>x = query(psum[j]);
| ^~
sequence_apio.cpp:47:14: error: template argument 1 is invalid
47 | pair<ll,ll>x = query(psum[j]);
| ^
sequence_apio.cpp:47:24: error: cannot convert ‘std::pair<long long int, long long int>’ to ‘int’ in initialization
47 | pair<ll,ll>x = query(psum[j]);
| ~~~~~^~~~~~~~~
| |
| std::pair<long long int, long long int>
sequence_apio.cpp:48:19: error: request for member ‘first’ in ‘x’, which is of non-class type ‘int’
48 | dp[j][tmp] = x.first- psum[j] * psum[j];
| ^~~~~
sequence_apio.cpp:49:18: error: request for member ‘second’ in ‘x’, which is of non-class type ‘int’
49 | par[j][i] = x.second;