CF1406E Deleting Numbers
Step 1
Observation: we need to delete a \(a\)'s multiple then check if anything is left, this checks if \(x\) is a multiple of \(a\).
We can build a naïve algorithm
Observation: we need to delete a \(a\)'s multiple then check if anything is left, this checks if \(x\) is a multiple of \(a\).
We can build a naïve algorithm