Problems
Every problem has reference solutions in every language it accepts (usually all 8; language-specific topics like pointers or classes take only those languages), machine-checked to produce identical answers.
- Copying a guestbook line8P0311
- Sum of two numbers8P0001
- Bonus-added scores joined with commas8P0373
- Marbles passed in turn8P0251
- The shorter one stands in front8P0344
- Four lines of true and false8P0217
- Ticket number from a seat code8P0226
- Sale price, or list price if there is none8P0281
- Distance per liter8P0216
- Sum of digits8P0006
- Grid distance8P0017
- A photo fitted to a square frame8P0254
- Letter grades8P0011
- Leap year8P0019
- Locker extra fee8P0372
- Three-day temperature trend8P0227
- Clap game8P0002
- Star triangle8P0007
- One row of the times table8P0022
- One more throw for yut or mo8P0255
- First multiple8P0023
- Street lamps, with one at the very end8P0371
- A reading marathon that grows every day8P0282
- Count the vowels8P0009
- First and last position of a character8P0053
- Letters picked along the diagonal8P0283
- Count the words8P0012
- Palindrome check8P0004
- Reverse it, keep the sign8P0252
- Swap the case8P0025
- Largest number and its position8P0005
- Numbers of the students who retake8P0374
- Showing one page of a board8P0284
- Sort the numbers8P0036
- Sorting sign letters8P0253
- Is it on the list?8P0059
- Swapping places in pairs8P0312
- Dart scores thrown in turns8P0342
- Mornings at or above average8P0343
- A thermometer that cannot leave its scale8P0402
- Balls that landed in the sandbox8P0285
- Numbering the lines of a song8P0347
- Score statistics8P0003
- Exactly the money you have8P0043
- Sum to the end8P0018
- Weight on the scale8P0221
- Swap the cards8P0046
- Big sum8P0015
- Truncate, floor, round8P0044
- A siren that keeps sounding until switched off8P0289
- Letter chain8P0045
- Ride capacity8P0086
- Three hops to the power box contact8P0286
- Grading addition homework8P0222
- Seconds to H:MM:SS8P0013
- Free-throw success rate sheet8P0314
- Weekday after k days8P0016
- Round half to even8P0048
- Powers that fit8P0050
- Closest to the target8P0218
- Where is the square root8P0049
- Member discount and delivery fee8P0191
- Kite-flying notice board8P0315
- Middle of three8P0020
- Four-operation calculator8P0021
- Password rule checker8P0098
- Fibonacci number8P0010
- Counting temperature records8P0219
- Count the digits8P0052
- Loading a delivery truck in order8P0223
- Count down by steps8P0024
- Running total until zero8P0051
- Characters left in a message with Korean text8P0341
- Letter numbers in a note8P0192
- Cut from the a-th to the b-th character8P0054
- Reverse the word order8P0028
- A note cipher that reverses each half8P0316
- Letter pyramid8P0097
- Caesar cipher8P0026
- Stamp a case pattern8P0230
- Find and replace all8P0055
- Count overlapping occurrences8P0030
- Compare two words in dictionary order8P0056
- Right-align the names8P0029
- Trim whitespace from each line8P0057
- Run-length compression8P0027
- Digit ribbon pieces8P0095
- Travel time on a one-way bus route8P0224
- Remove every match8P0058
- Rotate a list right8P0032
- Row and column sums8P0033
- Number order and dictionary order8P0320
- Masking banned words in chat8P0194
- Edit only the copy8P0060
- Stamping a grid8P0061
- Shortest to the front, tallest to the back8P0317
- Second largest8P0031
- Class averages and the year average8P0225
- Tally scans in order8P0220
- Phone book lookup8P0063
- Only the last vote counts8P0228
- Find mutual picks8P0256
- Find stock by part-code range8P0229
- Remove duplicates8P0035
- Booths that start when k students gather8P0349
- Prime check8P0008
- A box-count function with defaults8P0257
- Tidy locker numbers8P0196
- Pick the top word with a key function passed in8P0318
- A balance with unequal arms8P0345
- Fireflies sitting in a row8P0350
- Candies placed every k seats around a round table8P0313
- Count primes that stay prime reversed8P0258
- To binary8P0038
- The busiest stretch of the bus8P0259
- Merge the logs of two entrances8P0260
- The books the librarian pulled out8P0375
- Whose birthday comes next8P0376
- Fewest coins8P0041
- Ways to climb stairs8P0042
- The pile of lunch trays8P0348
- Umbrella stand: first come, first served8P0351
- Stove warmth spreading through a classroom8P0378
- The seeker's walk in hide-and-seek8P0377
- Following the crossroad notes8P0380
- Ranks fixed by the clues alone8P0381
- Cutting the longest rice cake first8P0379
- Café stamp cards6P0261
- A game character that reports its own status6P0346
- Weekend farm plot records8P0319
- Which way the turtle faces6P0077
- Coupons used in order5P0199
- Min, max and sum through pointers2P0073
- Walking to the longest run with pointers2P0074
- Keeping the words2P0075
- Name tags pointing at the same list8P0262
- The robot that bounces back3P0203
- Flip and filter a grid1P0083
- One recent list, used twice4P0204
- Second-hand market search box6P0263
- Checking lock records8P0287
- Neighbors of a new locker8P0288
- Shelf label check character8P0161
- Unfolding lines continued with a backslash8P0325
- Scale log that wraps anywhere8P0231
- Sales log totals8P0102
- Temperature strip chart8P0164
- Blocks and shadowed variables8P0087
- Dart scoreboard: values with different lifetimes8P0328
- Running a sorting network8P0133
- Does it end in binary?8P0359
- Permission bit checker8P0132
- Checking school trip forms8P0324
- Building a shuttle bus timetable8P0163
- Overage Charge on a Data Plan8P0387
- Fill blanks with the last value8P0047
- A counter whose wheels have different sizes8P0266
- Meeting time in cities around the world8P0166
- Scaling a recipe to the head count8P0232
- Part size tolerance check8P0134
- How far the delivery drone flew8P0233
- Streetlamps Along a Path8P0389
- Parcel rate table8P0167
- Parking fee calculator8P0136
- Transposing a melody by k semitones8P0401
- Admission by completed years of age8P0169
- Counting places for billboards on a tile wall8P0270
- Dice game: roll again on a 68P0264
- Table of shared free days8P0234
- Multi-month calendar8P0126
- Vending machine change8P0127
- A bank ledger with commas8P0173
- Progressive income tax8P0137
- Elevator log with no floor 08P0235
- The longest stretch typed with one hand8P0269
- Mark where two lines differ8P0143
- Normalize a web address path8P0144
- Wrap to a width8P0104
- Read the settings after the address8P0236
- Mirror lettering for a window8P0174
- A horizontal bar report8P0175
- Title case with exception words8P0145
- Template filler8P0101
- Find next and find previous8P0356
- Case-insensitive sort8P0103
- Guide Words on Dictionary Pages8P0386
- Score table8P0096
- Finish a link by attaching search filters8P0290
- A tournament where winning tires you8P0180
- A frog on stepping stones8P0193
- Edit a playlist8P0110
- Best window average8P0106
- Folding a paper strip8P0354
- What the recipes are missing8P0237
- Save slots for a list8P0107
- Spiral fill8P0128
- Vertical survey histogram8P0150
- A function that reverses ranges8P0062
- Who moved after the seat swaps8P0176
- Tidying ranges of a warehouse shelf8P0177
- The day with the widest swing8P0238
- Checking a receipt with subtotals8P0268
- Average to two decimals8P0014
- Word frequency ranking8P0034
- Warehouse reorder report8P0147
- Shop inventory8P0064
- Live top three8P0109
- Merging Photo Album Tags8P0388
- Roster by number8P0065
- Union, intersection, difference8P0099
- Tiles that flip when stepped on8P0352
- Group by first letter8P0066
- The abacus that needs the fewest beads8P0355
- A function that takes any number of judge scores8P0333
- Meeting room slot checker8P0149
- A child's share passes to the grandchildren8P0265
- Shaping a list by passing rule functions8P0239
- Fold left, fold right8P0329
- Narrowing down a PIN from worn keys8P0321
- GCD and LCM8P0037
- Add fractions and simplify8P0094
- Counting when three lighthouses flash together8P0322
- Split into two primes8P0068
- From base a to base b8P0093
- Labels without the avoided digits8P0358
- Fast range sums8P0039
- Two numbers summing to S in a sorted list8P0069
- When is the room free?8P0240
- Height between the markers8P0327
- Most meetings in one room8P0090
- A rhythm game where combos build up8P0267
- Balanced brackets8P0040
- Ticket line8P0071
- The museum whose doors lock one by one8P0291
- Line numbers in a folded reply thread8P0292
- The person with the most friends in common8P0293
- A semester plan that keeps prerequisites8P0197
- Rebuild only the stale files8P0326
- Lend the least-ridden bike first8P0294
- Bank account objects6P0078
- Shared ticket numbers6P0079
- A different salary for each kind of employee6P0157
- Score ranking8P0067
- League table6P0080
- Hourglasses that run together6P0323
- Order state machine6P0156
- Filter logs by level6P0357
- One max for everything3P0081
- Smart-home devices grouped by what they can do5P0383
- Detaching train cars with a pointer to a pointer2P0201
- An array that doubles2P0158
- Copied robots3P0076
- The all-or-nothing vending machine3P0382
- Flip the class roster1P0123
- Notebook and pen gift sets8P0353
- A pair ledger you can search from both sides4P0384
- Orders by city2P0082
- Sorting out the cells dug in a treasure hunt6P0385
- Loose or strict equality2P0084
- Four ways to be the same2P0124
- A stock ledger passed by reference1P0085
- Coupling trains at the yard4P0207
- Human-readable file sizes8P0135
- Filtering and grouping a server log8P0165
- Tidying a bike ride log8P0162
- Reading measurement rows mixed with commas and comments8P0392
- Summarising a bundle of letters8P0295
- Receipt printer format strings8P0241
- Printing a byte dump table8P0396
- What the progress bar left behind8P0271
- A banner printed with a digit font8P0404
- Used before a value was put in8P0360
- Calculator cells assigned all at once8P0272
- Compound interest table8P0131
- Moving a value into smaller types8P0397
- Broken Sensors and the Alarm8P0362
- Decoding control-character notation8P0300
- The date some days later or earlier8P0170
- Split by Stake and the Leftover Won8P0363
- Mean and standard deviation of sensor readings8P0168
- Sprinkler reach8P0129
- Trading robot: one action a day8P0330
- TV remote keys8P0242
- Checking product codes against a template8P0273
- Comparing products rule by rule8P0301
- Taking every few diagonal stripes of a patchwork8P0335
- Darts countdown game8P0140
- Slime Hunting Log8P0390
- Sort the digits and subtract, again and again8P0209
- Babylonian square root8P0130
- Retry with backoff8P0138
- A ruler made of characters8P0172
- Rewinding a work log to find the first row8P0331
- The next level keeps moving away8P0296
- Following an ATM's state8P0139
- A letter tape that turns and flips8P0297
- Imitating Python's a:b:c slicing8P0274
- Shortening long file names in the middle8P0395
- Split CSV with quotes8P0105
- Building a back-of-the-book index8P0302
- Reading a knitting row from the back8P0332
- Script rewrite in one pass8P0243
- Redact secrets in a log8P0171
- Natural sort of file names8P0142
- Markdown table of contents8P0141
- Trimming values in a config file8P0393
- Card row clean-up commands8P0244
- Copy, cut and paste8P0298
- Flipping through class-photo lineups8P0208
- Filtering chat spam by what is still on screen8P0391
- Theater seats and a waiting line8P0146
- Picking the restaurant that disappoints no one much8P0334
- Ranking stations by average temperature8P0195
- Budget ledger by category8P0178
- Runoff with ranked ballots8P0148
- A small library's loan ledger8P0179
- Laying Wires on an Endless Board8P0364
- Ordering a warehouse stock ledger by cell8P0394
- Anagram groups8P0108
- Grouping recipes with the same ratio8P0280
- Reading numbers in Korean8P0200
- A calculation tree that evaluates only the chosen side8P0275
- Binding Named Arguments8P0361
- Pieces nobody attacks8P0299
- Letter arrangements8P0100
- Reading duration notation8P0366
- Run twice: lexical and dynamic scope8P0245
- Cars at a traffic light8P0114
- An elevator with two buttons8P0181
- Building a gear train8P0185
- Count numbers with k prime factors8P0113
- Primes in a smudged ledger8P0182
- Fast rectangle sums on a grid8P0092
- Pairs within k8P0112
- Cutting the shortest piece from a necklace8P0155
- Cut ribbons evenly8P0070
- Backup disk size8P0111
- Transfers on a timetable where expresses overtake8P0304
- Ways to make an amount with coins8P0088
- Longest increasing subsequence8P0089
- Packing a knapsack8P0116
- Longest common subsequence8P0117
- The cheapest way to fix a caption8P0153
- First greater number to the right8P0091
- A notepad with undo and redo8P0187
- Round-robin CPU8P0115
- The order of moves to measure with two jugs8P0210
- Exploring a cave by feel, picking up keys8P0190
- Friend groups8P0118
- Slack time of festival tasks8P0303
- Editing a floor plan with chained methods6P0276
- Parcel trucks that leave when full8P0247
- Hands of five dice6P0198
- Task queue and median3P0121
- A box ranking built from an array of pointers2P0246
- A table whose rows have different lengths2P0202
- A Tiny Heap Manager8P0365
- Fix by reference, find with lower_bound1P0125
- Cloned adventurers and a shared vault3P0159
- Build an answer-sheet score table1P0206
- Top k per stage2P0122
- Matching the product table and the order table2P0160
- Identical parcels and parcels with the same contents8P0205
- Drawing a folder tree8P0248
- Finding names in nested blocks8P0183
- Round table seating rules8P0184
- Tile wall and corner numbers8P0399
- An elevator that turns when there is no more work8P0250
- Cutting grid paper into squares with nothing left8P0367
- Longest piece of three ribbon colors8P0398
- Numbers that split into small primes only8P0340
- Repeating fractions in another base8P0403
- Campfires that cool with distance and the warmth of the campsite8P0307
- Serving a round table8P0369
- A ridge walk that takes the cable car over the hardest section8P0306
- Choosing days to dry persimmons8P0368
- Stretching every streetlight equally8P0213
- A delayed line and the k-th train8P0370
- Sorting a table by column keys given in the input8P0308
- Choosing 3D printer orders that meet their deadlines8P0152
- The night watch that needs k people in every slot8P0310
- Ways the water can flow8P0154
- How many snacks to stock in the fridge8P0214
- Numbers that light S bars8P0279
- Taking marbles without copying8P0339
- A remainder calculator where adding comes first8P0186
- A ledger rolled back to named savepoints8P0305
- Counting two neighboring colors in a grouped bead design8P0400
- The kiln line where cracked pots cool and queue again8P0309
- A shortcut through up to K walls8P0119
- Paint drops where the most neighbors win8P0188
- Doors that flip every time you step8P0249
- Bridges that open only on odd or even minutes8P0336
- Island map8P0072
- A package installer that matches version ranges8P0189
- Breakers that trip from the bottom up8P0337
- A drone that swaps batteries8P0151
- Pipes that cut off water on their own8P0212
- A group chat you leave when the people you watch are gone8P0278
- Ordering tasks8P0120
- A sheet whose cells may call each other8P0215
- Removing packages nobody needs any more8P0338
- A bakery that sells the earliest expiry first8P0211
- A treatment order that grows more urgent with waiting8P0277