At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
its my previous ques wihich i closed accidently..
the ques was In a jail with 100 rooms, all locked initially, 100 rioters break in and disturb the rooms in the following way. First one stops at all rooms and opens them all. Second rioters stops at rooms numbered 2, 4, 6, . . . and locks open rooms, and leaving the other rooms as they were. The third rioter stops at rooms numbered 3, 6, 9, . . . and again opens a locked room and locks an open room, leaving others undisturbed. And this process continues. After all the 100 rioters have left which rooms would be open?
I hope u got your solution
i just wanted to discuss there so i attached the link..
why sq. nos have odd no. of factors i got it.. but why only sq nos. fit in the soln i didnt get it..
its because the room number which has odd number of factors...... will be open
u didnt understand that?
leme try.. 1o all 2,4,6....c 3,6,9....o . . . no i didnt get it! :P i mean the reason..
Ok....... the rooms are intially closed right
so point is odd nos do opening job,,right ?
Yep...... if u do odd no. of steps... the room will be open
I mean each step will close the room if it is open and close it if the room is open
I think thats it
i wanna say something ... see its true or not... every room will be met by rioters equal to its number of divisors
yes yes,,not everything fits in!! thanks ..
PLZ..... dont call me sir.... call me friend
okay sir!! :P