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.
33 problems match · page 1 of 2
A0043 and 7
Consider the natural numbers from 1 to N, that is 1, ..., N.
100 ptsrawCODEBasic syntaxBrute force
October 30 · 3 solved it · 3 submissions
100 ptsA007Confidence scoreN warriors are placed in a circle.
100 ptsrawCODEBasic syntaxBrute force
October 30 · 1 solved it · 1 submissions
100 ptsA016Lotto 30When someone playing "Lotto 30" buys one ticket, they pick 6 numbers, with no repeats, from the natural numbers 1 through 30 as their lotto numbers.
100 ptsrawCODEBasic syntaxBrute force
October 30 · 1 solved it · 1 submissions
100 ptsB054Coffee bean tasting orderPrint every tasting record that picks M of the N kinds of coffee bean and drinks them in order, in lexicographic order.
200 ptsrawCODEBacktrackingCounting
October 30
200 ptsB055Lighthouse lighting orderPrint every order that lights all N lighthouses once each, in lexicographic order.
200 ptsrawCODEBacktrackingCounting
October 30
200 ptsB057Choosing saplingsPrint every case of choosing M of the N saplings, in lexicographic order.
200 ptsrawCODEBacktrackingCounting
October 30
200 ptsB058Flag signalsPrint every signal that can be made by hanging flags of N colors one on each of the M flagpoles, in lexicographic order.
200 ptsrawCODEBacktrackingCounting
October 30
200 ptsB059Packing fruitPrint every way to pack M pieces of fruit from N kinds, in lexicographic order, where the same kind may be packed more than once.
200 ptsrawCODEBacktrackingCounting
October 30
200 ptsB062Six photos on an album pageFor each customer, print every way to pick six of their k candidate photos to fill one album page, in lexicographic order.
200 ptsrawCODEBacktrackingCounting
October 30
200 ptsB074Counting ore regionsCount 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 ptsB076Maximizing the temperature shockChange the order in which the freezer warehouses are visited and make the sum of the set temperature differences between warehouses visited one after the other as large as possible.
200 ptsrawCODEBacktrackingBrute force
October 30
200 ptsB078Setting the dialFind 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 ptsB087Changing the safe's numberUsing 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 ptsA003Comparing combat powerThere are N seats laid out in a row.
300 ptsrawCODEBacktrackingBrute force
October 30
300 ptsA006Touch missionThere are two or more target points on an N×N board.
300 ptsrawCODEBrute forceBreadth-first search (BFS)
October 30
300 ptsA009Hitting the targetsThere are K targets on an N×N board.
300 ptsrawCODEBacktrackingBrute force
October 30
300 ptsA011Two knightsAn N×N board holds 1 hero and 2 knights, and at least 1 enemy.
300 ptsrawCODEBrute forceBreadth-first search (BFS)
October 30
300 ptsA012Wolves and chickensAn N×N map holds K wolves and K chickens.
300 ptsrawCODEBacktrackingBrute force
October 30
300 ptsA015Cooperation scoreYou want to split N students into K groups.
300 ptsrawCODEBacktrackingBrute force
October 30
300 ptsA018Rotating defenseThere is one hero character.
300 ptsrawCODEBacktrackingBrute force
October 30
300 pts20 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.