Problem cousin
User justin271828
Submission Time 2024-11-22 22:22:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cousin.cpp: In function ‘void init(int, int*)’:
cousin.cpp:13:25: error: request for member ‘size’ in ‘P’, which is of non-class type ‘int*’
13 | for (int i = 0; i < &P.size(); i++) {
| ^~~~
cousin.cpp:18:26: error: request for member ‘size’ in ‘P’, which is of non-class type ‘int*’
18 | for (int i = 0; i < &P.size(); i++) {
| ^~~~