Problem | general |
---|---|
User | Shuhxin |
Submission Time | 2024-08-03 11:04:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
general.cpp: In function ‘int main()’:
general.cpp:34:8: error: conflicting declaration ‘long long int a [n]’
34 | ll a[n];
| ^
general.cpp:32:14: note: previous declaration as ‘long long int a’
32 | ll n, q, a, b;
| ^
general.cpp:36:19: error: invalid types ‘long long int[long long int]’ for array subscript
36 | cin >> a[i];
| ^
general.cpp:37:9: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
37 | par[i]=i;
| ^~~
| __pstl::execution::v1::par
In file included from /usr/include/c++/9/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from general.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:114:27: note: ‘__pstl::execution::v1::par’ declared