Competitive Programming


Methods to Solve (2000-present)

Use these filters to narrow down your next problem to solve:

OJ: , Topic: , Quality:

You can now sort these problems based on Distinct ACcepted Users (DACU) column.
Generally, problems with high DACU are the easier problems.
Note that we only update DACU column manually (not a live data).

As Kattis users, you can also sort these problems based Kattis points (usually correlated with DACU but not always).
Generally, problems with low Kattis points are the easier problems.
Note that we only update Point column manually (not a live data).

For Kattis and Google Chrome users, install Kattis Hint Giver created by one of my student Lin Si Jie that integrates this page directly with Kattis problems pages (Kattis has major UI/UX upgrade on early Jun 2022, Si Jie has updated this tool and added 'spoiler blur' so users can decide when to be spoiled; but Kattis changes its UI again by end 2023 so this feature is now broken again)
(Almost) all of the easiest 1004 problems (range: [1.1..3.3] points, average at 2.2 points) have hints and solving them all gives you 1004*~2.2 ≥ 2208.8 total Kattis points — The Lower Bound of Programming Contests in the 2020s year 2024.
Tips: You may want to occasionally 'Remove 'Kattis Hint Giver' from Chrome' and re-'Add it back to Chrome' to manually sync this Methods to Solve content with the local cache.

Kattis Problem Title CP4 Hint DACU Point
addtwonumbers addtwonumbers 1.4a, I/O + Sequences Only just sum the two input integers 3953 1.2
aleidibio aleidibio 1.4a, I/O + Sequences Only just output c-(a+b) 1233 1.2
ameriskur ameriskur 1.4a, I/O + Sequences Only just print n*0.09144 2275 1.3
betting betting 1.4a, I/O + Sequences Only simple probability formula 788 1.2
bitteeinbit bitteeinbit 1.4a, I/O + Sequences Only just print the first char of the input 273 1.3
carrots carrots 1.4a, I/O + Sequences Only just print P 15155 1.3
digitswap digitswap 1.4a, I/O + Sequences Only read the 2-digits input; print in reverse 1227 1.3
echoechoecho echoechoecho 1.4a, I/O + Sequences Only re-print the input 3x 1654 1.2
ekkidaudi ekkidaudi 1.4a, I/O + Sequences Only simply reformat the input 910 1.5
faktor faktor 1.4a, I/O + Sequences Only just print (I-1)*A+1 8022 1.2
fifa fifa 1.4a, I/O + Sequences Only just output 2022+n//m (round down) 2348 1.2
flatbokuveisla flatbokuveisla 1.4a, I/O + Sequences Only just print n mod m 942 1.2
flytibaka flytibaka 1.4a, I/O + Sequences Only just do nothing (e.g., submit a blank Python code) 688 1.4
gcvwr gcvwr 1.4a, I/O + Sequences Only simple math 236 1.3
greetings2 greetings2 1.4a, I/O + Sequences Only just reprint the input as requested 589 1.3
hello hello 1.4a, I/O + Sequences Only just print "Hello World!" 39217 1.2
heroesofvelmar heroesofvelmar 1.4a, I/O + Sequences Only ad hoc card game; use the attached .json for the details; 3 cards have special cases 237 1.9
jackolanternjuxtaposition jackolanternjuxtaposition 1.4a, I/O + Sequences Only just print N*T*M 53 1.7
metronome metronome 1.4a, I/O + Sequences Only just divide by 4.0 1614 1.3
planina planina 1.4a, I/O + Sequences Only just print (2^N+1)^2; OEIS A028400 5965 1.3
r2 r2 1.4a, I/O + Sequences Only just print 2*S-R1 14929 1.2
romans romans 1.4a, I/O + Sequences Only just print round(X * 1087.7626) 2088 1.4
shandy shandy 1.4a, I/O + Sequences Only just print min(B, L) * 2 267 1.3
thelastproblem thelastproblem 1.4a, I/O + Sequences Only S can have space(s) 76 1.8
titlecost titlecost 1.4a, I/O + Sequences Only take the min of length of s vs c 500 1.6
tolvunarfraedingartelja tolvunarfraedingartelja 1.4a, I/O + Sequences Only just print n-1 1312 1.2
twosum twosum 1.4a, I/O + Sequences Only another a+b problem 1540 1.4
velkomin velkomin 1.4a, I/O + Sequences Only just print 'VELKOMIN!' 6081 1.1
vidsnuningur vidsnuningur 1.4a, I/O + Sequences Only just output the reverse of input string 2570 1.2
averagecharacter averagecharacter 1.4b, Repetition Only sum ASCII values of all characters; divide by the number of characters 365 1.6
codetosavelives codetosavelives 1.4b, Repetition Only repeat t times; convert to ints; sum; convert to digits again 238 1.5
cosmicpathoptimization cosmicpathoptimization 1.4b, Repetition Only ignore the long text; just find the average temperature of M planets 410 1.5
curvespeed curvespeed 1.4b, Repetition Only for each test case, just apply the formula 128 2.8
different different 1.4b, Repetition Only use abs function per test case 8964 2.3
jumbojavelin jumbojavelin 1.4b, Repetition Only sum and offset by (N-1) 112 1.5
nsum nsum 1.4b, Repetition Only just sum the content of the small list 1406 1.3
qaly qaly 1.4b, Repetition Only trivial loop 5955 1.2
ratingproblems ratingproblems 1.4b, Repetition Only loop to sum the ratings; simple formula afterwards 2227 1.3
tarifa tarifa 1.4b, Repetition Only one pass; array not needed 9768 1.3
timeloop timeloop 1.4b, Repetition Only just print 'num Abracadabra' N times 17170 1.3
umferd umferd 1.4b, Repetition Only loop; count the dots 461 1.4
addingtrouble addingtrouble 1.4c, Selection Only just check if A+B == C 3686 1.3
blueberrywaffle blueberrywaffle 1.4c, Selection Only formula with rounding; 2 cases 716 1.9
canadianseh canadianseh 1.4c, Selection Only just check the last three characters 771 1.5
conteststruggles conteststruggles 1.4c, Selection Only simple formula; check if answer in [0..100] 101 1.9
fyi fyi 1.4c, Selection Only if-else; 2 cases; output 1/0 if the input starts with '555'/not, respectively 90 1.6
grading grading 1.4c, Selection Only if-else; 6 cases 483 1.4
hradgreining hradgreining 1.4c, Selection Only if-else; 2 cases 2253 1.3
hvertskalmaeta hvertskalmaeta 1.4c, Selection Only only 3 municipalities go to 'Akureyri' 383 1.5
internationaldates internationaldates 1.4c, Selection Only 3 cases 1154 1.5
isithalloween isithalloween 1.4c, Selection Only if-else; 2 cases 3761 1.3
judgingmoose judgingmoose 1.4c, Selection Only if-else if-else; 3 cases 4516 1.4
laptopsticker laptopsticker 1.4c, Selection Only if-else; 2 cases; note: one centimeter for both sides 1518 1.4
millifaersla millifaersla 1.4c, Selection Only pick the smallest among the three 939 1.2
moscowdream moscowdream 1.4c, Selection Only if-else; 2 cases; check n ≥ 3 443 1.7
onechicken onechicken 1.4c, Selection Only if-else if-else; 4 cases (piece vs pieces) 3014 1.6
provincesandgold provincesandgold 1.4c, Selection Only if-else if-else; 6 cases 1779 1.4
quadrant quadrant 1.4c, Selection Only if-else if-else; 4 cases 13625 1.3
sith sith 1.4c, Selection Only 3 cases 524 1.5
sorttwonumbers sorttwonumbers 1.4c, Selection Only swap a and b if a > b 1313 1.4
stafur stafur 1.4c, Selection Only 3 cases; be-careful with 'Y' 349 1.6
temperature temperature 1.4c, Selection Only if-else if-else; 3 cases; derive formula 685 2.2
testdrive testdrive 1.4c, Selection Only if-else; 4 cases 130 2.5
undeadoralive undeadoralive 1.4c, Selection Only 4 cases 1905 1.5
vajningsplikt vajningsplikt 1.4c, Selection Only selection; multiple cases; be careful 114 1.8
whichisgreater whichisgreater 1.4c, Selection Only if-else; 2 cases 2253 1.3
astrologicalsign astrologicalsign 1.4d, Multiple TC + Selection 12 cases (Capricorn is a bit different) 226 1.6
eligibility eligibility 1.4d, Multiple TC + Selection 3 cases 1741 1.6
helpaphd helpaphd 1.4d, Multiple TC + Selection 2 cases 2044 1.6
leftbeehind leftbeehind 1.4d, Multiple TC + Selection 4 cases 2014 1.6
lessvsfewer lessvsfewer 1.4d, Multiple TC + Selection case analysis; multiple test cases 375 2.1
nastyhacks nastyhacks 1.4d, Multiple TC + Selection 3 cases 6308 1.3
numberfun numberfun 1.4d, Multiple TC + Selection 2 cases (out of 6 combinations; addition/multiplication are commutative); remember integer division 3436 1.4
oddities oddities 1.4d, Multiple TC + Selection 2 cases 11523 1.3
vedurheidar vedurheidar 1.4d, Multiple TC + Selection simple selection over n test cases 809 1.4
babybites babybites 1.4e, Control Flow easy simulation 1624 1.7
basketballoneonone basketballoneonone 1.4e, Control Flow linear pass 957 1.6
cinema2 cinema2 1.4e, Control Flow just a small variation from Kattis - cinema 181 1.8
cold cold 1.4e, Control Flow linear pass; array not really needed 12609 1.3
divvyingup divvyingup 1.4e, Control Flow sum; simple if-else 406 1.6
earlywinter earlywinter 1.4e, Control Flow linear pass 543 1.9
electionparadox electionparadox 1.4e, Control Flow simple control flow 212 1.9
fadingwind fadingwind 1.4e, Control Flow just code as instructed 866 1.5
fizzbuzz fizzbuzz 1.4e, Control Flow actually just about easy divisibility properties 10274 1.3
goombastacks goombastacks 1.4e, Control Flow just stack all the goombas and check 437 1.5
isyavowel isyavowel 1.4e, Control Flow count the occurrences of 'aeiou' vs 'aeiouy' in the input 735 1.2
jobexpenses jobexpenses 1.4e, Control Flow simple loop 1427 1.4
licensetolaunch licensetolaunch 1.4e, Control Flow easy linear pass 1969 1.4
oddecho oddecho 1.4e, Control Flow just do as asked 1466 1.3
oddgnome oddgnome 1.4e, Control Flow linear pass 2388 1.6
offworldrecords offworldrecords 1.4e, Control Flow check as required 150 1.8
overdraft overdraft 1.4e, Control Flow find the lowest balance over all n transactions 356 1.7
skammstofun skammstofun 1.4e, Control Flow take first character of each word if it is in Uppercase 360 1.5
skruop skruop 1.4e, Control Flow simple control flow 254 1.5
smil smil 1.4e, Control Flow simple loop; test up to 4 patterns 1081 1.4
sottkvi sottkvi 1.4e, Control Flow simple control flow 404 1.5
speeding speeding 1.4e, Control Flow just loop; keep the running max 84 1.4
speedlimit speedlimit 1.4e, Control Flow standard simulation problem 7164 1.4
spritt spritt 1.4e, Control Flow simple loop and selection 1415 1.4
stararrangements stararrangements 1.4e, Control Flow one loop 1637 1.4
statistics statistics 1.4e, Control Flow one pass; array not needed 2942 1.7
tornbygge tornbygge 1.4e, Control Flow linear pass 272 1.8
vedurvindhradi vedurvindhradi 1.4e, Control Flow 13 cases; easier to check with array and loop 316 1.6
zanzibar zanzibar 1.4e, Control Flow one pass; array not needed 2308 1.5
abc abc 1.4f, Function sort 3 numbers into ABC; then print output as needed 5282 1.8
arithmeticfunctions arithmeticfunctions 1.4f, Function implement the three functions as asked 140 1.7
artichoke artichoke 1.4f, Function LA 7150 - WorldFinals Marrakech15; linear scan; probably one of the easiest WorldFinals problem; also available at UVa 0... 1390 2.8
chugging chugging 1.4f, Function abstract the computation of drinking time as function; compute for Alice and for Bob; decide accordingly 211 1.6
combinationlock combinationlock 1.4f, Function simple; do as asked; also available at UVa 10550 - Combination Lock 633 2.5
digits digits 1.4f, Function direct simulation; also available at UVa 11687 - Digits 214 3.5
filip filip 1.4f, Function create a 'reverse string' function; then if-else check 6345 1.3
logicfunctions logicfunctions 1.4f, Function implement the three simple logical Boolean operations 62 2.5
mia mia 1.4f, Function just if-else check 1136 2.1
sifferprodukt sifferprodukt 1.4f, Function easy digit product function 460 1.5
socialdistancing2 socialdistancing2 1.4f, Function 1D Boolean array of occupied seats; find 3 adjacent empty seats 188 1.9
treasurehunt treasurehunt 1.4f, Function simple simulation on 2D grid 1006 2.6
acm acm 1.4g, 1D Array, Easier simple simulation; one pass 3526 1.5
atlogur atlogur 1.4g, 1D Array, Easier easy simulation; use 2 arrays or 1 array of pairs 134 2.4
cetiri cetiri 1.4g, 1D Array, Easier sort 3 number helps; 3 cases 1165 1.9
coffeecupcombo coffeecupcombo 1.4g, 1D Array, Easier greedily purchase two cups; drop unnecessary cups later to maximize awake time 849 1.6
cutinline cutinline 1.4g, 1D Array, Easier a simple list ADT problem (small N) 96 2.2
cyaniderivers cyaniderivers 1.4g, 1D Array, Easier find longest consecutive 0s; divide by 2 146 2.3
finalexam2 finalexam2 1.4g, 1D Array, Easier compare array with itself (but shifted by one index) 378 1.3
forcedchoice forcedchoice 1.4g, 1D Array, Easier simple in-small-array test 205 1.3
hothike hothike 1.4g, 1D Array, Easier one pass; using array helps a bit 835 1.7
kcuddlanod kcuddlanod 1.4g, 1D Array, Easier reverse a string (char array); replace 2 and 5; compare 156 1.9
lineup lineup 1.4g, 1D Array, Easier sort ascending/descending and compare 3703 1.6
lostlineup lostlineup 1.4g, 1D Array, Easier simple 1D array manipulation 550 1.5
meanwords meanwords 1.4g, 1D Array, Easier use array of strings 403 1.7
ofugsnuid ofugsnuid 1.4g, 1D Array, Easier simple list reversal problem; one liner with Python 636 1.4
pokechat pokechat 1.4g, 1D Array, Easier 1D array indexing 946 1.4
stickykeys stickykeys 1.4g, 1D Array, Easier one pass check on an array of characters 1001 1.5
trainboarding trainboarding 1.4g, 1D Array, Easier simulation with arrays 58 3.0
ullendullendoff ullendullendoff 1.4g, 1D Array, Easier array; extract the required index 420 1.6
vaccineefficacy vaccineefficacy 1.4g, 1D Array, Easier use small arrays; just compute as described 102 2.6
vectorfunctions vectorfunctions 1.4g, 1D Array, Easier a good tutorial problem involving C++ std::vector functions 70 2.1
zoom zoom 1.4g, 1D Array, Easier store in 1D array; access indices that are multiples of k 302 1.6
armystrengtheasy armystrengtheasy 1.4h, Easy also see Kattis - armystrengthhard 1585 2.1
armystrengthhard armystrengthhard 1.4h, Easy also see Kattis - armystrengtheasy; re-read the problem statement several times to unveil a trivial solution 1466 2.2
batterup batterup 1.4h, Easy easy one loop 4542 1.3
brokenswords brokenswords 1.4h, Easy easy counting problem 367 1.7
cinema cinema 1.4h, Easy easy simulation 129 2.6
dontfalldownstairs dontfalldownstairs 1.4h, Easy easy linear pass check 114 2.2
doublepassword doublepassword 1.4h, Easy two to the power of number of different digits 608 1.4
drinkingsong drinkingsong 1.4h, Easy just one loop; but be careful of with the grammar 336 2.4
endurvinnsla endurvinnsla 1.4h, Easy just count 'ekki plast' and compute the answer 136 2.2
espresso espresso 1.4h, Easy simple control flow 187 1.7
findingana findingana 1.4h, Easy simple string search/find operation 424 1.3
hangingout hangingout 1.4h, Easy simple loop 2218 1.3
haughtycuisine haughtycuisine 1.4h, Easy just remember the last one 390 1.6
hissingmicrophone hissingmicrophone 1.4h, Easy simple loop 7690 1.3
methodicmultiplication methodicmultiplication 1.4h, Easy reading comprehension; very easy answer 381 1.6
mosquito mosquito 1.4h, Easy direct simulation 822 1.9
mult mult 1.4h, Easy simple control flow 701 1.6
nop nop 1.4h, Easy one loop; simply count and modify distances between two UPPERCASE characters 94 2.1
pokerhand pokerhand 1.4h, Easy frequency count; report max 2173 1.4
ptice ptice 1.4h, Easy just a simple simulation 2100 1.5
pubrunda pubrunda 1.4h, Easy just check as asked; linear pass 105 2.1
scalingrecipe scalingrecipe 1.4h, Easy apply math scaling formula with loop; be careful of precision issue 229 1.6
sevenwonders sevenwonders 1.4h, Easy one pass 4776 1.4
spellingbee spellingbee 1.4h, Easy trivial; just do as asked; string property checks 17 3.2
stopwatch stopwatch 1.4h, Easy linear pass; simulation 390 1.3
volim volim 1.4h, Easy simple simulation 1855 1.7
waterjournal waterjournal 1.4h, Easy check if a and/or b are/is seen in the log and decide the output accordingly 577 1.7
yinyangstones yinyangstones 1.4h, Easy trick question; just check if number of whites equals to number of blacks 1365 1.8
architecture architecture 1.4i, Still Easy 2D array problem with an easy two 1D arrays solution 78 2.7
bossbattle bossbattle 1.4i, Still Easy trick question 1391 1.8
boundingrobots boundingrobots 1.4i, Still Easy maintain separate variables 1141 1.6
brokencalculator brokencalculator 1.4i, Still Easy trivial; just do as asked 13 3.7
bubbletea bubbletea 1.4i, Still Easy simple simulation 806 2.2
driversdilemma driversdilemma 1.4i, Still Easy only 6 different cases; note that starting fuel is C/2 200 2.0
eventplanning eventplanning 1.4i, Still Easy just simulate; 2D loop 458 2.0
exactlyelectrical exactlyelectrical 1.4i, Still Easy Manhattan distance; waste energy at the end by moving 1 cell around target 469 2.0
eyeofsauron eyeofsauron 1.4i, Still Easy simple string check 998 1.3
flipflow flipflow 1.4i, Still Easy simulation 222 2.1
fromatob fromatob 1.4i, Still Easy we can only go up via (a bunch of) +1 move(s); we can only go down via (an optional +1 move to make even) and then divid... 44 3.1
ghostleg ghostleg 1.4i, Still Easy 1D array; simulation 772 1.4
guillaume guillaume 1.4i, Still Easy Scan from the back; avoid division by 0 73 3.3
makingameowth makingameowth 1.4i, Still Easy tricky simulation 474 1.6
missingnumbers missingnumbers 1.4i, Still Easy two linear loops; use a small array of Booleans 1622 1.7
peasoup peasoup 1.4i, Still Easy one linear pass 771 2.4
prerequisites prerequisites 1.4i, Still Easy process the requirements as the input is read; also available at UVa 10919 - Prerequisites? 284 1.9
pyramids pyramids 1.4i, Still Easy find the simple pattern to construct a pyramid of a certain height 459 1.5
sok sok 1.4i, Still Easy case analysis 750 1.7
spacerace spacerace 1.4i, Still Easy easy control flow 140 2.2
thanos thanos 1.4i, Still Easy simple simulation; R is at least 2 335 3.2
vote vote 1.4i, Still Easy follow the requirements 1584 2.2
anotherbrick anotherbrick 1.4j, Medium simple simulation 1424 1.9
babypanda babypanda 1.4j, Medium think backwards from m back to 0; n is not needed 338 2.2
basicprogramming1 basicprogramming1 1.4j, Medium a nice summative problem for programming examination of a basic programming methodology course 201 4.0
battlesimulation battlesimulation 1.4j, Medium one pass; special check on 3! = 6 possible combinations of 3 combo moves 900 2.8
beekeeper beekeeper 1.4j, Medium single loop; be careful that vowel set here includes 'y' 1025 2.7
bitsequalizer bitsequalizer 1.4j, Medium analyzing patterns; also available at UVa 12545 - Bits Equalizer 174 4.5
bottledup bottledup 1.4j, Medium find integer a and b so that a*v1 + b*v2 == s; single loop 637 2.6
carousel 1.4j, Medium single loop; keep best; skip a > m 335 2.8
climbingstairs climbingstairs 1.4j, Medium observation: go to office (k), go to registration desk (r), go up/down 1 floor until you reach n steps, go home; repetit... 210 4.1
climbingworm climbingworm 1.4j, Medium simulation; similar with UVa 00573 - The Snail 222 2.4
codecleanups codecleanups 1.4j, Medium a bit tricky 515 2.4
cowcrane cowcrane 1.4j, Medium reading comprehension; case analysis; eventually there are only 4 possible cases 181 3.9
deathtaxes deathtaxes 1.4j, Medium direct simulation; a bit of reading comprehension 179 3.3
fastfood fastfood 1.4j, Medium eventually just one pass due to the constraints 330 2.2
fizzbuzz2 fizzbuzz2 1.4j, Medium divisibility properties; very similar to Kattis - fizzbuzz 212 2.7
howl howl 1.4j, Medium simply extend the input by one correct character; case analysis exercise 288 1.8
shatteredcake shatteredcake 1.4j, Medium sum the area of the pieces and relate it with L*W 957 1.6
utf8 utf8 1.4j, Medium parsing; prefix checks 65 2.5
warringscoring warringscoring 1.4j, Medium just do as asked; 1D array manipulation 193 3.2
bela bela 1.6a, Game (Card) simple card scoring problem 3731 1.3
karte karte 1.6a, Game (Card) simple 1600 1.7
memorymatch memorymatch 1.6a, Game (Card) interesting simulation game; many corner cases 161 4.0
shuffling shuffling 1.6a, Game (Card) simulate card shuffling operation 218 2.8
bijele bijele 1.6b, Game (Chess) super simple 10381 1.4
checkmateinone checkmateinone 1.6b, Game (Chess) case analysis; only move rook once; cannot jump over own King; do not move rook to position that can be attacked by the ... 191 4.5
chess chess 1.6b, Game (Chess) bishop movements; either impossible, 0, 1, or 2 ways - one of this can be invalid; just use brute force 856 2.9
empleh empleh 1.6b, Game (Chess) the reverse problem of Kattis - helpme 245 1.8
helpme helpme 1.6b, Game (Chess) convert the given chess board into chess notation 302 2.4
hexagonalrooks hexagonalrooks 1.6b, Game (Chess) count number of two consecutive rook movements on hexagonal grid; try all possible 91 (intermediate) cells after simplif... 18 3.2
connectthedots connectthedots 1.6c, Game (Others), Easier classic children game; output formatting 213 3.6
gamerank gamerank 1.6c, Game (Others), Easier simulate the ranking update process 732 3.9
guessinggame guessinggame 1.6c, Game (Others), Easier use a 1D flag array; also available at UVa 10530 - Guessing Game 684 2.7
pvbg pvbg 1.6c, Game (Others), Easier find min plus 1 727 1.8
trik trik 1.6c, Game (Others), Easier simple simulation game 7191 1.4
battleship battleship 1.6d, Game (Others), Harder simulation; reading comprehension; many corner cases 120 5.4
matchgame matchgame 1.6d, Game (Others), Harder two cases for yes: 1 (sample 2) or 2 digits (sample 2) difference; no for 3 digits differences; be careful for cases lik... 204 4.6
rockpaperscissors rockpaperscissors 1.6d, Game (Others), Harder count wins and losses; output win average; also available at UVa 10903 - Rock-Paper-Scissors ... 820 3.7
rockscissorspaper rockscissorspaper 1.6d, Game (Others), Harder 2D arrays manipulation; also available at UVa 10443 - Rock, Scissors, Paper 153 4.8
tictactoe2 tictactoe2 1.6d, Game (Others), Harder check validity of Tic Tac Toe game; tricky; also available at UVa 10363 - Tic Tac Toe 167 5.3
turtlemaster turtlemaster 1.6d, Game (Others), Harder interesting board game to teach programming for children; simulation 323 2.9
attendance2 attendance2 1.6e, Real Life, Easier we frequently encounter this problem in real-life 220 1.9
calories calories 1.6e, Real Life, Easier are you concerned with your weights?; also available at UVa 10554 - Calories from Fat 328 2.0
chopin chopin 1.6e, Real Life, Easier you can learn a bit of music with this problem 823 1.8
compass compass 1.6e, Real Life, Easier your typical smartphone's compass function usually has this small feature 1529 2.0
cornhusker cornhusker 1.6e, Real Life, Easier do the estimation as explained 365 1.5
cprnummer cprnummer 1.6e, Real Life, Easier just do the check as described 197 1.5
fbiuniversal fbiuniversal 1.6e, Real Life, Easier a bit of base number conversion; base 27 to base 10, if valid 369 2.2
heartrate heartrate 1.6e, Real Life, Easier real life problem 3205 1.3
measurement measurement 1.6e, Real Life, Easier going down: multiply; going up: divide 641 2.0
parking parking 1.6e, Real Life, Easier a possible real life application; simple loops and if-statements are enough to solve this problem 1523 1.6
trainpassengers trainpassengers 1.6e, Real Life, Easier create a verifier; be careful of corner cases 1807 2.1
transitwoes transitwoes 1.6e, Real Life, Easier a possible real life scenario; simulate as asked 353 1.3
wertyu wertyu 1.6e, Real Life, Easier use 2D mapper array to simplify the problem; also available at UVa 10082 - WERTYU 768 2.9
beatspread beatspread 1.6f, Real Life, Medium be careful with boundary cases!; also available at UVa 10812 - Beat the Spread 980 2.4
dodecaphony dodecaphony 1.6f, Real Life, Medium music lesson; do as asked 98 3.2
luhnchecksum luhnchecksum 1.6f, Real Life, Medium very similar (~95%) to UVa 11743 836 1.6
musicalscales musicalscales 1.6f, Real Life, Medium music lesson; use array(s) to help simplify the code 674 1.6
recipes recipes 1.6f, Real Life, Medium real life problem for a cook; just simulate the requirements 731 1.8
score score 1.6f, Real Life, Medium medium difficulty; do as asked; just be careful 173 3.5
streamlag streamlag 1.6f, Real Life, Medium easier if we compute the required lag in offline mode, i.e., read all the packet arrival times upfront 188 3.1
toilet toilet 1.6f, Real Life, Medium simulation; be careful of corner cases 1756 2.4
wordcloud wordcloud 1.6f, Real Life, Medium just a simulation; but be careful of corner cases 322 2.4
workingfromhome workingfromhome 1.6f, Real Life, Medium contextual COVID-19 pandemic-related situation; just simulate the requirement 236 4.5
bungeejumping bungeejumping 1.6g, Real Life, Harder real life Physics simulation; need someone who is good with Physics to understand the problem and derive the required fo... 64 4.8
creditcard creditcard 1.6g, Real Life, Harder real life issue; precision error issue if we do not convert double (with just 2 digits after decimal point) into long lo... 123 6.3
demeritpoints demeritpoints 1.6g, Real Life, Harder real-life; harder; multiple corner cases 63 6.5
saxophone saxophone 1.6g, Real Life, Harder about musical instruments; also available at UVa 10415 - Eb Alto Saxophone Player 268 2.4
tenis tenis 1.6g, Real Life, Harder Tennis scoring rules; tricky test cases; be careful 78 5.0
touchscreenkeyboard touchscreenkeyboard 1.6g, Real Life, Harder follow the requirements; sort 636 1.9
workout workout 1.6g, Real Life, Harder gym simulation; use 1D arrays to help you simulate the time quickly 151 5.7
countingdays countingdays 1.6h, Time, Easier computing number of elapsed days via black-box functions 64 2.6
datum datum 1.6h, Time, Easier Java GregorianCalendar, DAY_OF_WEEK 3019 1.4
friday friday 1.6h, Time, Easier the answer depends on the start day of the month 1059 1.9
justaminute justaminute 1.6h, Time, Easier linear pass; total seconds/(total minutes*60) 1512 1.7
klockan2 klockan2 1.6h, Time, Easier try all 24*60 possibilities 208 1.8
marswindow marswindow 1.6h, Time, Easier simple advancing of year and month by 26 months or 2 years+2 months each; direct formula exists 830 2.0
parentgap parentgap 1.6h, Time, Easier difference of two specific Sundays 336 2.3
savingdaylight savingdaylight 1.6h, Time, Easier convert hh:mm to minute; compute difference of ending and starting; then convert minute to hh:mm again 986 2.1
spavanac spavanac 1.6h, Time, Easier convert hh:mm to minute, reduce by 45 minutes, then convert minute to hh:mm again 8877 1.4
bestbefore bestbefore 1.6i, Time, Harder tedious; 3! = 6 possibilities to check 148 4.0
birthdayboy birthdayboy 1.6i, Time, Harder convert mm-dd into [0..364]; use DAT; find largest gap via brute force 108 4.6
busyschedule busyschedule 1.6i, Time, Harder sort the time; be careful of corner cases 811 2.4
dst dst 1.6i, Time, Harder straightforward; modulo 611 2.1
natrij natrij 1.6i, Time, Harder convert hh:mm:ss to seconds; make sure the second time is larger than the first time; corner case: 24:00:00 1136 2.6
semafori semafori 1.6i, Time, Harder simple simulation 724 2.0
tgif tgif 1.6i, Time, Harder given the day of 1 Jan of an unspecified year, find the DAY_OF_WEEK of another day of that year; use Java GregorianCalen... 82 3.2
timezones timezones 1.6i, Time, Harder follow the description, tedious; also available at UVa 10371 - Time Zones 67 5.3
convertingromans convertingromans 1.6j, Roman Numerals Roman numbers variant; important: ``subtract any digit written to the left of a larger digit, even if they are not direc... 274 2.9
rimski rimski 1.6j, Roman Numerals to Roman/to Decimal conversion problem; use next permutation to be sure 118 4.5
romanholidays romanholidays 1.6j, Roman Numerals generate and sort the first 1K Roman strings; ''M'' is at index 945; append prefix 'M' for numbers larger than 1K 92 3.6
conundrum conundrum 1.6k, Cipher, Easier simple cipher 5240 1.4
cypherdecypher cypherdecypher 1.6k, Cipher, Easier encrypt n messages as requested 169 1.7
drmmessages drmmessages 1.6k, Cipher, Easier simple decrypt; follow instruction 1949 1.6
drunkvigenere drunkvigenere 1.6k, Cipher, Easier simple decrypt; reverse the given instruction 189 1.5
encodedmessage encodedmessage 1.6k, Cipher, Easier simple 2D grid cipher 2316 1.4
kemija08 kemija08 1.6k, Cipher, Easier simple vowel checks 3070 1.4
keytocrypto keytocrypto 1.6k, Cipher, Easier simple decrypt 1029 1.7
reverserot reverserot 1.6k, Cipher, Easier simple cipher 2641 1.7
runlengthencodingrun runlengthencodingrun 1.6k, Cipher, Easier encode and decode 1929 1.7
t9spelling t9spelling 1.6k, Cipher, Easier similar to (the reverse of) UVa 12896 2425 1.7
anewalphabet anewalphabet 1.6l, Cipher, Medium simple cipher; 26 characters 4154 1.8
falsesecurity falsesecurity 1.6l, Cipher, Medium a bit tedious decoder problem 948 1.6
keylogger keylogger 1.6l, Cipher, Medium cipher problem; map sound to index; see sample input 1 227 2.3
permcode permcode 1.6l, Cipher, Medium reading comprehension problem 166 2.2
piglatin piglatin 1.6l, Cipher, Medium simple; check the vowels that include 'y' and process it 916 2.1
secretmessage secretmessage 1.6l, Cipher, Medium just do as asked; use 2D grid 2866 1.7
tajna tajna 1.6l, Cipher, Medium simple 2D grid cipher 471 2.1
autori autori 1.6m, Input Parsing (Iter) simple string tokenizer problem 11602 1.2
genealogical genealogical 1.6m, Input Parsing (Iter) iterative parser; need to be careful when trimming the tokens; do not print new line as the last line; otherwise this is... 77 3.5
headguard headguard 1.6m, Input Parsing (Iter) run length encoding 164 2.0
liquidassets liquidassets 1.6m, Input Parsing (Iter) iterative parsing; process the two rules one after another 274 3.4
mumblerap mumblerap 1.6m, Input Parsing (Iter) find the largest integer in the string 597 1.7
pervasiveheartmonitor pervasiveheartmonitor 1.6m, Input Parsing (Iter) simple parsing; then finding average 950 1.7
screen screen 1.6m, Input Parsing (Iter) there are lots of simplifying specifications that makes this problem doable, especially with Python eval(expression) 39 3.5
timebomb timebomb 1.6m, Input Parsing (Iter) just a tedious input parsing problem; divisibility by 6 1174 1.8
tripletexting tripletexting 1.6m, Input Parsing (Iter) print characters that appear at least two times out of three 56 1.8
asciikassi asciikassi 1.6n, Output Formatting, E ASCII art; create 2D grid as per requirement 478 1.5
display display 1.6n, Output Formatting, E unordered_map; map a digit -> enlarged 7x5 version 635 2.5
krizaljka krizaljka 1.6n, Output Formatting, E simple 2D character array formatting 483 1.8
mirror mirror 1.6n, Output Formatting, E simple 2D character array formatting 1757 1.7
mrcodeformatgrader mrcodeformatgrader 1.6n, Output Formatting, E tedious output formatting 441 2.0
multiplication multiplication 1.6n, Output Formatting, E tedious time waster output formatting problem 162 2.2
musicalnotation musicalnotation 1.6n, Output Formatting, E simple but tedious 421 2.0
okvir okvir 1.6n, Output Formatting, E simple 2D output formatting problem 399 2.0
okviri okviri 1.6n, Output Formatting, E use 2D array to simplify the process 447 1.9
skener skener 1.6n, Output Formatting, E enlarging 2D character array 2067 1.5
ultimatebinarywatch ultimatebinarywatch 1.6n, Output Formatting, E simple 2D output formatting problem; 4 vertical bitmasks 205 1.4
asciiaddition asciiaddition 1.6o, Time Waster, Easier a+b problem in text format; total gimmick; time waster 509 1.9
averagespeed averagespeed 1.6o, Time Waster, Easier distance = speed*time elapsed; also available at UVa 10281 - Average Speed 322 3.7
bluetooth bluetooth 1.6o, Time Waster, Easier input parsing; check many subcases 318 1.9
gerrymandering gerrymandering 1.6o, Time Waster, Easier just a reading comprehension problem; do as asked 1187 1.4
glitchbot glitchbot 1.6o, Time Waster, Easier time waster; O(n^2) simulation; do not output more than one possible answer 1036 2.0
pachydermpeanutpacking pachydermpeanutpacking 1.6o, Time Waster, Easier time waster; simple one loop simulation 322 1.9
printingcosts printingcosts 1.6o, Time Waster, Easier clear time waster; the hard part is in parsing the costs of each character in the problem description 705 2.2
froggie froggie 1.6p, Time Waster, Harder just a simulation; but many corner cases; S can be 0 296 6.8
functionalfun functionalfun 1.6p, Time Waster, Harder just follow the description; 5 cases; tedious parsing problem; requires a kind of mapper 487 1.9
interpreter interpreter 1.6p, Time Waster, Harder need careful implementation; just follow the instruction 224 3.7
lumbercraft lumbercraft 1.6p, Time Waster, Harder time waster; 2D grid simulation 69 5.0
sabor sabor 1.6p, Time Waster, Harder ad hoc; hard simulation; analyze that the simulation terminates 53 5.2
touchdown touchdown 1.6p, Time Waster, Harder time waster; reading comprehension; several corner cases 114 3.6
windows windows 1.6p, Time Waster, Harder LA 7162 - WorldFinals Marrakech15; tedious simulation problem; also available at UVa 01721 - Window Manager 92 7.6

Buy Now!


Partner Links