Maxsum frequency 2


the code doesn’t pass 2 of the test cases and shows runtime error in one of them

Please us cin to take input.

its still showing error

Please submit the code I have share, it is working fine

1 Like

thanks!It is working now