Problem | brick |
---|---|
User | thelusidian |
Submission Time | 2024-10-23 16:30:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:8:2: error: expected initializer before ‘deque’
8 | deque<int> seq;
| ^~~~~
brick.cpp:10:10: error: ‘arr’ was not declared in this scope
10 | cin >> arr[n-1-i];
| ^~~
brick.cpp:12:2: error: ‘seq’ was not declared in this scope; did you mean ‘__pstl::execution::v1::seq’?
12 | seq.push_back(arr[0])
| ^~~
| __pstl::execution::v1::seq
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 brick.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:112:28: note: ‘__pstl::execution::v1::seq’ declared here
112 | constexpr sequenced_policy seq{};
| ^~~
brick.cpp:12:16: error: ‘arr’ was not declared in this scope
12 | seq.push_back(