Divisible subarray

https://ide.codingblocks.com/s/255007 sir i have wrote this code but it is giving wrong output plz help me out

You didn’t input n. After line 11, cin>>n; is missing

Thank u very much ma’am