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)· 그래프 순회

7 problems match

B066Water tanks the dye reaches
Find the number of water tanks the dye reaches when dye is poured into tank 1.
100 ptsrawCODEDepth-first search (DFS)Graph traversal
October 30
100 pts
B068Distance between shelters
Work out the distance between two shelters joined by trails, for each query in order.
200 ptsrawCODEDepth-first search (DFS)Trees
October 30
200 pts
B074Counting ore regions
Count the regions of connected matching mineral in a photo of a cut face, once the way an appraiser who tells all three minerals apart counts them and once the way a tester that cannot tell two of them apart counts them.
200 ptsrawCODEDepth-first search (DFS)Graph traversal
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
B073Swapping seats around
Find the largest number of seats that can be picked so that the numbers of the seats picked and the numbers on their signs are the same.
300 ptsrawCODEDepth-first search (DFS)Cycle detection
October 30
300 pts
B080Splitting workers between two work areas
For each factory, decide whether every worker can be assigned to two work areas without breaking a single pair of workers that cannot be put together.
300 ptsrawCODEBreadth-first search (BFS)Graph traversal
October 30
300 pts
B072Warehouses left out of a loop route
Each warehouse settles on one next warehouse to pass goods to. Count the warehouses left out of every loop route.
400 ptsrawCODEDepth-first search (DFS)Cycle detection
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.