I am restless since 3 days because I did enough stress testing of my solution against brute force but still couldn’t get 40 points. Can anyone please help in this regard? What mistake am I doing? I will be more sleepless now knowing the fact that stress testing with AC solution also didn’t gave me any conflicting test cases(and even one AC solution was giving wrong answers still AC!!!)
This is my code link https://onlinegdb.com/rJ1h36IcI. Please help me out if you can. Thanks