Traditional Culture Encyclopedia - Travel guide - Application question: A tour group of 50 people stayed at a travel agency. The hotel has three types of guest rooms: triple rooms, double rooms, and single rooms.
Each person staying in a triple roo
Application question: A tour group of 50 people stayed at a travel agency. The hotel has three types of guest rooms: triple rooms, double rooms, and single rooms.
Each person staying in a triple roo
Each person staying in a triple room per night
1. Suppose there is a room x for 3 people and a room y for 2 people
3x+2y+(20-x-y)=50 x+y is less than or equal to 20
Simple solution: 2x+y=30 x=10 y=10 x=11 y=8 x=12 y=6 x=13 y=4 x=14 y=2 x=15 y=0
Minimum consumption: 15x3x25x50=1150 (the last situation)
2. There are 30 single people and 4 children. After removing them, there are 16 people left, 8 couples, and 8 double rooms are needed
p>17 males 17/3=5...2 people
13 females 13/3=4...1 person If the patients are 2 males*** 8+5+ is required 2+5=20 rooms
The patient is 2 females*** needs 8+6+4+2=20 rooms The patient is 1 female and 1 male*** needs 8+5+2+5 =20 rooms
- Previous article:Shanxi Wanjing International Travel Agency Wanjing Honor
- Next article:How to apply for a personal visa when traveling to Thailand in 2017
- Related articles
- To road trip, Shanghai is heading for Gansu. What cities are worth visiting along the way?
- Dream of traveling by boat with your partner.
- Is the Cultural Tourism Bureau awesome?
- How to make an electronic blackboard newspaper
- Why is Yibu travel so bad?
- Why did Nanchang Wanda Theme Park change its name?
- Can I apply for a passport when traveling abroad?
- Can Shangri-La patients with three highs travel?
- Hunan old tour group Changsha old tour group travel guide
- How much of the 2,442 kilometers of red tourist highways will be built in the central and western regions?