Participants are tasked with organizing a rescue mission in a dense forest, where…
- User
Participants are tasked with organizing a rescue mission in a dense forest, where several people are lost and scattered across different zones. The goal is to guide rescue teams to retrieve them efficiently, manage supplies, and prioritize those in most need of rescue. Participants must design a system that uses data structures to optimize team movement, resource management, and the tracking of rescued individuals. Specific Tasks
- Zones and Rescue Teams Setup: The forest is divided into multiple zones. Each zone has a priority level (1 = highest priority, 5 = lowest) and contains people in need of rescue. Each zone also contains necessary supplies for the rescue teams.
- The system should be able to prioritize zones based on urgency and manage the distribution of supplies to the teams.
- Team Movement (Zone Visit Management): Teams must move between zones efficiently, visiting the zones that need rescue while avoiding unnecessary backtracking. The movement should follow a structured order to ensure that zones are visited without missing any priority rescues.
- Rescue Supply Management: Each rescue team has limited supplies such as first aid kits, food, etc. The system should manage the supplies effectively, ensuring that the rescue teams use them in a strategic and optimal manner when entering each zone.
- Tracking Rescued People: The system must track the people who have been rescued, recording their details and the time of rescue. The system should allow for quick updates and retrieval of rescue information.
- Sorting Rescue Priorities: As the zones are prioritized, the system should manage and sort the rescue operation, ensuring that the most urgent rescues are addressed first. The priority of zones and people should be constantly updated based on the progression of the rescue mission. Evaluation Criteria
- Effective Use of Priority Queue: The priority queue should be used effectively to handle zone priorities, ensuring that high-priority zones are rescued first.
- Efficient Path Management and Resource Management: The queue should be used to manage team movement between zones, ensuring that each zone is visited in the correct order without backtracking. The stack should effectively handle resource allocation, ensuring teams have the necessary supplies when needed.
- Binary Tree for Efficient Record-Keeping: The binary tree should efficiently track and sort rescued people based on time or urgency, allowing for quick lookups and updates.
- System Efficiency: The system should handle dynamic changes, such as updating zones or the status of rescued people, in an efficient manner.
- User-Friendliness: The design should be intuitive, with an easy-to-understand flow for zone visits, rescue priorities, and supply usage.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.