Problem wabot
User limzuwan
Submission Time 2023-06-16 17:36:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wabot.cpp: In function ‘int main()’:
wabot.cpp:21:20: error: taking address of rvalue [-fpermissive]
21 | z = &A[i].begin();
| ^
wabot.cpp:21:8: error: cannot convert ‘std::deque<int>::iterator*’ {aka ‘std::_Deque_iterator<int, int&, int*>*’} to ‘int*’ in assignment
21 | z = &A[i].begin();
| ^~~~~~~~~~~~~
| |
| std::deque<int>::iterator* {aka std::_Deque_iterator<int, int&, int*>*}