Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
33arsenic75 committed Jun 23, 2024
2 parents a7fba2d + acefbf7 commit 2c7c485
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions problem-of-the-day/day24/quant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A group of students are sitting in a circle with the teacher in the center.
They all have an even number of candies (not necessarily equal).
When the teacher blows a whistle, each student passes half his candies to the student on his left.
Then the students who have an odd number of candies obtain an extra candy from the teacher.
Would all the students ever have the same number of candies after a finite number of whistles?

0 comments on commit 2c7c485

Please sign in to comment.