Log inSign up

Problems

By default we show the easiest problems first. If this is your first visit, work down from the top. The AI model runs on your own device, so a desktop is recommended. On mobile, judging one problem can take several minutes.

Filter by tag (70)· 최단 경로

11 problems match

B078Setting the dial
Find the shortest time to reach the target mark using only the three moves of turning the dial down by 1, up by 1, or to twice its mark.
200 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
200 pts
B079Moves of the shuttle robot
For each warehouse, find the smallest number of moves a shuttle robot needs to reach the target cell, where one move goes two cells along one axis and one cell along the other.
200 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
200 pts
B083Members who hear the news on day K
News spreads along relations that work in one direction only, and every member whose first day of hearing it is exactly day K has to be found.
200 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
200 pts
B085Substations that get the maintenance notice
Find the number of substations reached from substation 1 over two or fewer transmission lines.
200 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
200 pts
B087Changing the safe's number
Using only doubling and appending a 1 on the right to change the number A into B, find the smallest number of lines left in the logbook.
200 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
200 pts
A024The traveler's climb
A mountain sits on an N×N board, and a traveler wants to climb it.
300 ptsrawCODEShortest pathDijkstra shortest path
October 30
300 pts
B081Making a number with four buttons
Find the shortest sequence of button presses that puts the target number on the display, using only four buttons that each combine the number on the display with itself.
300 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
300 pts
B084Number of languages passed through
Switching from one dictionary to another to carry a document written in language 1 over to language N, find the smallest number of languages the document passes through.
300 ptsrawCODEBreadth-first search (BFS)Shortest path
October 30
300 pts
B102Shipping route fare table
Print a table of the smallest fare for sending cargo between every pair of ports.
300 ptsrawCODEShortest pathFloyd-Warshall
October 30
300 pts
B103Two-hop relay
Find the largest number of relay stations a signal reaches in two hops or fewer, and report that number.
300 ptsrawCODEShortest pathFloyd-Warshall
October 30
300 pts
A027Waypoints
A student starts out standing at point 1 and wants to move to point N.
400 ptsrawCODEShortest pathDijkstra's algorithm
October 30
400 pts

20 per page. If you are unsure how to solve them, read the Guidefirst, or just open problem 1 and start there.

If a problem will not open, or the model will not load Q&A is the first place to look. Common questions are collected there. If it is not there either, Contact and I will answer you myself.