Problem pigeonhole
User Johnnie
Submission Time 2023-11-08 10:33:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:22:37: error: request for member ‘length’ in ‘numOfPidgeons’, which is of non-class type ‘int [h]’
22 | for (int i = 0; i < numOfPidgeons.length(); i++)
| ^~~~~~