AC turns into TLE with a weird change
Hello guys!
I was solving some problems on dp on subsets and I found this strange one
this got AC, but that gets TLE, and the only difference between them is swaping the inner 2 loops (mask and j).
I'm really curious to know why :D