Fair Distribution

This is a companion discussion topic for the original entry at https://toph.co/p/fair-distribution

@backbenchermmc, don’t paste your answer if you have already solved it.
Remove it or I might report you the next time.

What’s the problem with the second test case?

1 Like

So @touhidur You are the admin here! wow!

:sweat_smile: actually I am just a member. If you want to contact the admin then it would be most likely https://community.toph.co/u/hjr265

instead of ““while(y%3!=0) y++;”” you have to write ““while(y%x!=0) y++;””"