Math day hint for comptetive coding q

i use boost librarry but still it gives me WA

bro pls create seprate thread for new doubt.

also make sure u raise from the same question in which u have doubt

ok …

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

have u solved this problem in leetcode
Delete and Earn


my approach is wrong will you please help me

bro raise a new doubt.
i will help u with it.

where

go to any random cb question in ur dashboard , and post doubt using ask doubt button

actually i am not able to ask question in that section .
So,will you please help me here.

bro it will not be counted in my contribution thats why i m asking u to raise doubt.

btw this problem is quite easy based on inclusion , exclusion dp, so just read leetcode discuss and u will be able to solve it

ok bhai…