Curated sets
First steps
Loops, arithmetic, and input and output. Start here.
Total results1,239 problems
| Topics | Judge | |||||
|---|---|---|---|---|---|---|
| Triple JumpFind the first step in [30.0, 30.2], then report 30.0 minus the smallest position among steps at least 3 later, or 0 if none exists. | Easy2 | ImplementationArray | No attempts yet | 2s | 512 MB | Judgeable |
| Hissing MicrophoneGiven a lowercase string, check whether it contains two consecutive s characters and print hiss or no hiss. | Easy2 | StringImplementation | No attempts yet | 1s | 512 MB | Judgeable |
| Sum Squared Digits FunctionFor each of P datasets, convert the given integer n to base b, square each digit, and report the total with the dataset number. | Easy2 | MathImplementation+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Santa's GiftsCompute the total straight-line distance from Santa's house through four given points in 3D and check it does not exceed the time limit X. | Easy2 | MathGeometry+2 | No attempts yet | 5s | 512 MB | Judgeable |
| Life ScoreFor each name, sum the letter values (A=1 to Z=26, spaces worth 0) and print the total, or PERFECT LIFE when the total is exactly 100. | Easy2 | StringImplementation | No attempts yet | 2s | 512 MB | Judgeable |
| Big number A+BRead two integers with up to 10000 digits and print their sum without leading zeros. | Easy2 | StringMath+2 | No attempts yet | 1s | 256 MB | Judgeable |
| A Simple ProblemGiven N, print the smallest positive multiple of N squared, which is just N squared itself. | Easy2 | MathImplementation+1 | No attempts yet | 3s | 512 MB | Judgeable |
| Check the CheckRead dish names and price-quantity pairs until the line TOTAL, then print PAY if the waiter's total is at most the sum of price times quantity, else PROTEST. | Easy2 | ImplementationString+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Shattered CakeGiven the cake's width and the dimensions of all shattered rectangular pieces, sum the piece areas and divide by the width to get the length. | Easy2 | MathImplementation+2 | No attempts yet | 10s | 512 MB | Judgeable |
| Triangles from Five SticksGiven five distinct stick lengths, count how many 3-stick subsets can form a triangle with positive area. | Easy2 | Brute forceGeometry+1 | No attempts yet | 2s | 512 MB | Judgeable |
| Jaccard Similarity ThresholdGiven two small sets of digits, decide whether their Jaccard similarity is greater than 0.5. | Easy2 | ImplementationMath | No attempts yet | 1s | 512 MB | Judgeable |
| PencilsChoose either set X or set Y, buy any number of copies of that one set, and pay the least to reach at least N pencils. | Easy2 | MathImplementation | No attempts yet | 2s | 512 MB | Judgeable |
| Array Manipulation at Moloco (Easy)For each element, count how many earlier elements in the array are smaller, and print those counts one per line. | Easy2 | ArrayBrute force | No attempts yet | 2s | 512 MB | Judgeable |
| Lorem ipsumSplit a fixed Latin placeholder paragraph into words and print the words at indices L through R separated by spaces. | Easy2 | StringImplementation+1 | No attempts yet | 0.1s | 512 MB | Judgeable |
| Hash collision stringsPrint two length-N strings that differ but have equal Java String hashCode values, using the classic Aa/BB collision with a shared prefix. | Easy2 | StringHash map+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Abbey CourtyardGiven the area of a square courtyard, compute the perimeter as 4 times the square root of the area, rounded to six decimal places. | Easy2 | MathImplementation+1 | No attempts yet | 1s | 512 MB | Judgeable |
| Cube BitsConvert each of n decimal integers (up to 3^20) to its base-3 representation without leading zeros. | Easy2 | MathImplementation | No attempts yet | 4s | 512 MB | Judgeable |
| Binary GamePrint the binary representations of 0 through n, concatenated with no separators. | Easy2 | StringImplementation | No attempts yet | 1s | 256 MB | Judgeable |
| Sum of DivisorsGiven a natural number n up to 10000, print the sum of all its positive divisors, with 1 and n included. | Easy2 | MathBrute force | No attempts yet | 1s | 256 MB | Judgeable |
| Lotto number frequencyGiven a number n from 1 to 45, print how often n appears among the six main winning numbers of 700 fixed Nanum Lotto rounds. The counts are precomputed constants. | Easy2 | ImplementationArray | No attempts yet | 1s | 256 MB | Judgeable |
| Is N primeGiven an integer N, decide whether N is prime and print Yes or No. The trailing line of N integers is unused. | Easy2 | MathNumber theory+1 | No attempts yet | 1s | 256 MB | Judgeable |
| RickRead one line and print NO if it exactly matches one of six given phrases, otherwise print YES. | Easy2 | StringImplementation | No attempts yet | 1s | 256 MB | Judgeable |
| Midterm Exam GradingGiven point values for N problems and each examinee's O/X results, find the highest scorer, breaking ties by the smallest exam number. | Easy2 | ImplementationArray+1 | No attempts yet | 1s | 512 MB | Judgeable |
| Exceed or notGiven a, b, and r, print overflow if a*b exceeds r, otherwise print the product a*b. | Easy2 | MathImplementation+1 | No attempts yet | 0.5s | 128 MB | Judgeable |
| Derivative of a polynomial functionParse a linear polynomial written like 3x+5 or -x+2 and print the constant that is its derivative. | Easy2 | StringImplementation+1 | No attempts yet | 1s | 512 MB | Judgeable |
| Master Manager Nam JeonghunGiven L left-footed, R right-footed, and A two-footed players, find the largest even team size with equal left and right counts. | Easy2 | MathGreedy | No attempts yet | 1s | 128 MB | Judgeable |
| Magic SquareGiven an N by N matrix, decide whether its entries form a magic square with equal row, column, and diagonal sums. | Easy2 | ImplementationMatrix+1 | No attempts yet | 1s | 512 MB | Judgeable |
| TeleportationGiven start a, end b, and a bidirectional teleporter linking x and y, find the minimum tractor distance to move from a to b, with the option to skip the teleporter. | Easy2 | MathImplementation+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Jealous JinseoCheck whether any person in Jinseo's row or column has higher charm than him, printing ANGRY if so and HAPPY otherwise. | Easy2 | ImplementationArray | No attempts yet | 1s | 512 MB | Judgeable |
| PLAYERJINAH’S BOTTLEGROUNDSGiven the coordinates of three distinct points, decide whether they lie on a single straight line. | Easy2 | GeometryMath+1 | No attempts yet | 1s | 512 MB | Judgeable |
| Master of the Shell GameGiven a string, perform T swaps of characters at the given 0-indexed positions in order and print the final string. | Easy2 | StringSimulation+1 | No attempts yet | 1s | 128 MB | Judgeable |
| Overflow and ModuloMultiply N integers and print the product modulo M, reducing after each multiplication to avoid overflow. | Easy2 | MathImplementation+2 | No attempts yet | 1s | 512 MB | Judgeable |
| What Is Your HandleSort N distinct handles by ASCII dictionary order and print the I-th one. | Easy2 | SortingString+1 | No attempts yet | 1s | 512 MB | Judgeable |
| It Worked, So Why Is It Wrong?Compare the expected answer with Manyoung's output for each sample and system test case, then print Accepted, Wrong Answer, or Why Wrong!!! according to which group fails. | Easy2 | ImplementationSimulation+2 | No attempts yet | 1s | 512 MB | Judgeable |
| HashingCompute the polynomial rolling hash of a lowercase string using base 31 modulo 1234567891. | Easy2 | ImplementationMath | No attempts yet | 1s | 512 MB | Judgeable |
| Matrix Multiplication CalculatorRead pairs of matrices with dimension lines, multiply them when the inner dimensions match, and print each result row wrapped in vertical bars, or print undefined. | Easy2 | ImplementationMatrix+2 | No attempts yet | 2s | 512 MB | Judgeable |
| Wak Sani SatayGiven daily satay and nasi impit sales, compute weekly net profit from fixed per-stick prices, meat and spice costs, and rounding to two decimals. | Easy2 | ImplementationMath | No attempts yet | 2s | 512 MB | Judgeable |
| Caesar CipherShift every letter of a string by k positions in the alphabet, wrapping around, and leave spaces, periods, and commas unchanged. | Easy2 | StringImplementation+1 | No attempts yet | 1s | 64 MB | Judgeable |
| What Does UCPC Stand For?Given one string, decide whether deleting some characters can leave exactly the subsequence UCPC, case sensitive. | Easy2 | StringGreedy+1 | No attempts yet | 1s | 512 MB | Judgeable |