https://codeforces.com/problemset/problem/1097/B
in my code i am getting error and dont know how to rectify it, please check my code and approach to solve the problem is correct or not
https://codeforces.com/problemset/problem/1097/B
in my code i am getting error and dont know how to rectify it, please check my code and approach to solve the problem is correct or not
@shivamgoel150 code logic is fine,
use proper size for bitset element, also nested for loop should have different iterator(you used same i).