Yes 10 is correct. Thats assuming you meant 25 nights though. If you meant 25 including the day you arrive and leave, or including neither the day you arrive nor leave, then being completely fair won't be possible.
The simplest way to timetable this would be ensuring everyone spends equal time in each bed, for example by 'cycling everyone around' every 5 days:
This way everyone spends 5 days in each bed. Thus they will each spend 10 days in the room with 10 beds.