Editorial for Алмаларды бөлу -1


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Hint 1.

Алмаларды N оқушыға тең бөлу керек, яғни әр оқушы бірдей мөлшерде алады.

Hint 2.

Бүтін бөлуде нәтиже екі бөліктен тұрады: бөлінді (қаншадан тиеді) және қалдық.

Hint 3.

Бұл есепте бізге дәл осы бөлінді қажет, яғни әр оқушы алатын алма саны:
\(\lfloor \frac{K}{N} \rfloor\)