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.
20 problems match
A010Hair salon
N people want a haircut at the salon.
100 ptsrawCODESortingGreedy
October 30 · 2 solved it · 2 submissions
100 ptsB024Three baskets in weight orderLay out the weights of three baskets on one line, from the lightest.
100 ptsrawCODESortingBasic syntax
October 30
100 ptsB025Writing the elevations in orderWrite the elevations above sea level of the recorded points, one per line, from the lowest.
100 ptsrawCODESortingKorean
October 30
100 ptsB033Digit tiles on the scoreboardFind the largest number that can be made by moving the digit tiles slotted into the scoreboard to other places.
100 ptsrawCODESortingImplementation
October 30
100 ptsB035Lining up at the laundromatSet the order of the N people who share one washing machine and find the smallest total of everyone's waiting times.
100 ptsrawCODESortingGreedy
October 30
100 ptsA005Building an exam paperA problem setter wants to set N problems.
200 ptsrawCODESortingGreedy
October 30
200 ptsA014TaxLast year N people in one country paid tax.
200 ptsrawCODESortingBinary search
October 30
200 ptsB026Lining up the street lamp positionsWrite the positions of the street lamps along a straight road, one per line, from the smallest. There are very many lamps.
200 ptsrawCODESortingKorean
October 30
200 ptsB027The K-th lowest scoreFind the score that sits K-th from the front when the scores are laid out from the lowest.
200 ptsrawCODESortingKorean
October 30
200 ptsB028The sensor inspection orderLay out the sensor spots from the smallest horizontal coordinate, and from the smallest vertical coordinate when the horizontal coordinates are the same.
200 ptsrawCODESortingKorean
October 30
200 ptsB029Setting the viewing orderLay out the positions of the artworks from the smallest vertical coordinate first, and from the smallest horizontal coordinate when the vertical coordinates are equal.
200 ptsrawCODESortingKorean
October 30
200 ptsB030Tidying the search term listDrop the duplicates from a log of search terms and lay the terms out from the shortest one, using lexicographic order when the lengths are equal.
200 ptsrawCODESortingStrings
October 30
200 ptsB031Altitude levels of the stationsFor each station, find the number of distinct altitudes lower than its own and print the levels in order.
200 ptsrawCODESortingBinary search
October 30
200 ptsB032Shelving the boxes by weightLay the boxes out from the lightest one. When two boxes weigh the same, the box that arrived earlier goes first.
200 ptsrawCODESortingImplementation
October 30
200 ptsB042The observation timetableFind the largest number of observation requests that one telescope can carry out without overlap.
200 ptsrawCODEGreedySorting
October 30
200 ptsB071Counting sand islandsFind the number of sand islands in the photo and the size of each one, from the smallest upward.
200 ptsrawCODEDepth-first search (DFS)Connected components
October 30
200 ptsB111Merging survey recordsMerge the two survey teams' elevation change records, each already in ascending order, into one line that is also in ascending order.
200 ptsrawCODETwo pointersSorting
October 30
200 ptsB112Joining timbersCount the ways to join two of the timbers, which all have different lengths, into a post exactly X long.
200 ptsrawCODETwo pointersSorting
October 30
200 ptsB040Photos that pass the contestA photo is cut when another photo beats it in both the composition rank and the color rank. Count how many photos pass.
300 ptsrawCODESortingGreedy
October 30
300 ptsB119Bundled lotsFor each lot, find the total appraised value of the lots that are valued lower and came from a different dealer.
400 ptsrawCODEPrefix sumsSorting
October 30
400 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.