This is the code I wrote - https://ideone.com/YjINmj
I could only get a score of 33 and the problem has no editorial either so now i’m stuck.
This is the code I wrote - https://ideone.com/YjINmj
I could only get a score of 33 and the problem has no editorial either so now i’m stuck.