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)

307 in total · page 1 of 16

B119Bundled lots
For 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 pts
B118Delivery period
Find the number of days in the shortest period of days in a row whose parts cover the order of S.
300 ptsrawCODEPrefix sumsTwo pointers
October 30
300 pts
B117Change in power output
Take the change in power output for each section of a grid of panels, and print the total over a rectangular area for each of K queries.
200 ptsrawCODEPrefix sumsKorean
October 30
200 pts
B116Ad blocks
Count the runs of ads in a row whose lengths add up to a multiple of M.
300 ptsrawCODEPrefix sumsBasic math
October 30
300 pts
B115Profit and loss by period
Take M settlements over an N-day profit and loss log, and print the total of each period in order.
100 ptsrawCODEPrefix sumsKorean
October 30
100 pts
B114Touring the observation units
Make the gap between the highest and the lowest elevation a drone passes as small as possible, over the routes that leave the hangar, visit every observation unit and come back.
500 ptsrawCODETwo pointersDepth-first search (DFS)
October 30
500 pts
B113Hitting a target distance
Count the stretches of days in a row whose distances in an N-day riding log add up to exactly M.
200 ptsrawCODETwo pointersKorean
October 30
200 pts
B112Joining timbers
Count 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 pts
B111Merging survey records
Merge 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 pts
B110Pulling out part boxes
Pull at most K boxes off the belt so that the boxes holding an even number of parts run as long as possible in a row.
300 ptsrawCODETwo pointersKorean
October 30
300 pts
B109Audience count windows
Find the largest audience total over X shows in a row, together with how many windows reach that total.
200 ptsrawCODETwo pointersSliding window
October 30
200 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
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
B101Booth carpets
Booths that touch have to get carpets of different colors. Find the smallest cost of carpeting every booth.
200 ptsrawCODEDynamic programmingKorean
October 30
200 pts
B100Sluice gate levels
The levels of two neighboring sluice gates differ by exactly 1 and the first gate is not at level 0. Find the number of such settings.
300 ptsrawCODEDynamic programmingCounting
October 30
300 pts
B099Cutting down the water in the tank
Only three operations are available for bringing the water in the tank down to exactly 1 liter. Find the smallest number of operations needed.
200 ptsrawCODEDynamic programmingKorean
October 30
200 pts
B098Taking boxes off the shelf
The shelf is tidied so that the weights fall from left to right. Find the smallest number of boxes that have to be taken off.
300 ptsrawCODEDynamic programmingLongest increasing subsequence
October 30
300 pts
B097Joining up a fence
At most one plank is taken from each workshop. Find the number of ways to build a fence whose total length is exactly H.
300 ptsrawCODEDynamic programmingKnapsack
October 30
300 pts
B096Assigning parking slots
Each car can use only its own slot or a slot right beside it, and the charging slots are fixed. Find the number of possible ways to park.
300 ptsrawCODEDynamic programmingCounting
October 30
300 pts
B095Growth multipliers
Find the largest value that can come out of multiplying together the growth multipliers of a run of consecutive days.
200 ptsrawCODEDynamic programmingKorean
October 30
200 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.