code not complining on ide… and also see error if any as in some cases answer is not correct
@Bansaljatin05 Remove cin.ignore() add #include<bits/stdc++.h> at the top
Now submit and see