HackerEarth Problem Getting WA

Problem Statement:-- 2 arrays and K elements | Practice Problems
WA :point_down:

My code:— Online Compiler and IDE - GeeksforGeeks
updated

Can the update the question link?? Its not working.

I have.