Skip to content

Commit

Permalink
Create quant.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagesh19 authored Jun 22, 2024
1 parent 095cacf commit acefbf7
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 acefbf7

Please sign in to comment.