Don’t understand your approach
Learning course: Arrays using C++ Problem Link: CodeChef: Practical coding for everyone