uva-online-judge-solutions
uva-online-judge-solutions copied to clipboard
:trophy: Solutions to problems from the UVa Online Judge.
UVa Online Judge Solutions
:trophy: Solutions to problems from the UVa Online Judge :trophy:
Problem Set Volumes
Volume 001
- [x] 00100 — The 3n + 1 problem
- [x] 00156 — Ananagrams
- [x] 00195 — Anagram
Volume 002
- [x] 00272 — TEX Quotes
- [x] 00299 — Train Swapping
Volume 003
- [x] 00353 — Pesky Palindromes
Volume 004
- [x] 00401 — Palindromes
- [x] 00454 — Anagrams
- [x] 00482 — Permutation Arrays
- [x] 00483 — Word Scramble
Volume 005
- [x] 00514 — Rails
- [x] 00573 — The Snail
- [x] 00594 — One Little, Two Little, Three Little Endians
Volume 006
- [x] 00612 — DNA Sorting
- [x] 00640 — Self Numbers
- [x] 00661 — Blowing Fuses
- [x] 00673 — Parentheses Balance
Volume 007
- [x] 00725 — Division
- [x] 00727 — Equation
- [x] 00787 — Maximum Sub-sequence Product
Volume 008
- [x] 00821 — Page Hopping
Volume 009
- [x] 00920 — Sunny Mountains
- [x] 00993 — Product of Digits
Volume 011
- [x] 01124 — Celebrity Jeopardy
Volume 012
- [x] 01203 — Argus
- [x] 01223 — Editor
- [x] 01235 — Anti Brute Force Lock
- [x] 01282 — Fibonacci Words
Volume 016
- [x] 01649 — Binomial coefficients
Volume 017
- [x] 01709 — Amalgamated Artichokes
- [x] 01738 — Ceiling Function
Contest Volumes
Volume 100
- [x] 10018 — Reverse and Add
- [x] 10038 — Jolly Jumpers
- [x] 10055 — Hashmat the Brave Warrior
- [x] 10069 — Distinct Subsequences
- [x] 10079 — Pizza Cutting
Volume 101
- [x] 10107 — What is the Median?
- [x] 10114 — Loansome Car Buyer
- [x] 10131 — Is Bigger Smarter?
- [x] 10137 — The Trip
- [x] 10141 — Request for Proposal
- [x] 10165 — Stone Game
- [x] 10189 — Minesweeper
- [x] 10194 — Football (aka Soccer)
Volume 102
- [x] 10258 — Contest Scoreboard
Volume 103
- [x] 10327 — Flip Sort
- [x] 10334 — Ray Through Glasses
- [x] 10363 — Tic Tac Toe
Volume 104
- [x] 10433 — Automorphic Numbers
- [x] 10469 — To Carry or not to Carry
- [x] 10496 — Collecting Beepers
Volume 105
- [x] 10534 — Wavio Sequence
- [x] 10550 — Combination Lock
Volume 106
- [x] 10670 — Work Reduction
- [x] 10679 — I Love Strings!!
- [x] 10684 — The Jackpot
Volume 107
- [x] 10721 — Bar Codes
Volume 108
- [x] 10810 — Ultra-QuickSort
- [x] 10812 — Beat the Spread!
Volume 109
- [x] 10911 — Forming Quiz Teams
- [x] 10943 — How do you add?
- [x] 10945 — Mother Bear
- [x] 10954 — Add All
Volume 110
- [x] 11044 — Searching for Nessy
Volume 111
- [x] 11172 — Relational Operator
Volume 112
- [x] 11221 — Magic square palindromes
- [x] 11230 — Annoying Painting Tool
Volume 113
- [x] 11309 — Counting Chaos
- [x] 11336 — DRM
- [x] 11340 — Newspaper
- [x] 11350 — Stern-Brocot Tree
Volume 114
- [x] 11462 — Age Sort
- [x] 11495 — Bubbles and Buckets
- [x] 11498 — Division of Nlogonia
Volume 115
- [x] 11507 — Bender B
- [x] 11511 — Frieze Patterns
- [x] 11514 — Batman
- [x] 11547 — Automatic Answer
- [x] 11559 — Event Planning
Volume 116
- [x] 11616 — Roman Numerals
- [x] 11677 — Alarm Clock
Volume 117
- [x] 11727 — Cost Cutting
- [x] 11764 — Jumping Mario
- [x] 11799 — Horror Dash
Volume 118
- [x] 11849 — CD
- [x] 11858 — Frosh Week
Volume 119
- [x] 11966 — Galactic Bonding
- [x] 11995 — I Can Guess the Data Structure!
Volume 120
- [x] 12086 — Potentiometers
Volume 122
- [x] 12239 — Bingo!
- [x] 12243 — Flowers Flourish from France
- [x] 12247 — Jollo
Volume 123
- [x] 12319 — Edgetown's Traffic Jams
- [x] 12322 — Handgun Shooting Sport
- [x] 12324 — Philip J
- [x] 12356 — Army Buddies
Volume 124
- [x] 12462 — Rectangle
Volume 125
- [x] 12516 — Cinema-cola
Volume 126
- [x] 12637 — 30 Minutes or Less
- [x] 12638 — Godels Dream
- [x] 12639 — Hexagonal Puzzle
- [x] 12640 — Largest Sum Game
- [x] 12641 — Reodrnreig Lteetrs in Wrods
- [x] 12642 — Shuffling Cards
- [x] 12643 — Tennis Rounds
- [x] 12644 — Vocabulary
- [x] 12645 — Water Supply
- [x] 12668 — Attacking Rooks
- [x] 12670 — Counting ones
- [x] 12671 — Disjoint Water Supply
- [x] 12673 — Football
Volume 127
- [x] 12783 — Weak Links
- [x] 12784 — Dont Care
- [x] 12785 — Emacs Plugin
- [x] 12786 — Friendship Networks
- [x] 12787 — Looking-Glass House
- [x] 12788 — Smooth Factor
Volume 128
- [x] 12854 — Automated Checking Machine
- [x] 12855 — Black and white stones
- [x] 12856 — Counting Substhreengs
- [x] 12860 — Galaxy collision
- [x] 12861 — Help Cupid
- [x] 12862 — Intrepid climber
Volume 129
- [x] 12918 — Lucky Thief
- [x] 12940 — Next Palindromic Numbers
- [x] 12942 — Sub-expression Counting
- [x] 12943 — Designing an Electronic Device
- [x] 12944 — Earthquake Disaster
- [x] 12945 — Farmer Jane
- [x] 12946 — Peanoland Contacting Gaussland
- [x] 12947 — Texting with Grandma
- [x] 12948 — Interstellar Travel
- [x] 12949 — Voting Duels
Volume 130
- [x] 13004 — At Most Twice
- [x] 13005 — Blood Groups
- [x] 13006 — Cake Cut
- [x] 13007 — D as in Daedalus
- [x] 13008 — Exposing Corruption
- [x] 13009 — Fence the Vegetables Fail
- [x] 13010 — Galactic Taxes
- [x] 13011 — Height Map
- [x] 13012 — Identifying Tea
- [x] 13014 — Keep it Energized
- [x] 13017 — Canvas Painting
- [x] 13022 — Sheldon Numbers
- [x] 13057 — Prove Them All
- [x] 13058 — Baking Cakes with Grandma
- [x] 13059 — Tennis Championship
- [x] 13061 — Going Shopping with Grandma (I)
- [x] 13062 — Going Shopping with Grandma (II)
- [x] 13067 — Prime Kebab Menu
- [x] 13068 — The Weakest Link
Volume 131
- [x] 13107 — Royale With Cheese
- [x] 13108 — Juanma and the Drinking Fountains
- [x] 13109 — Elephants
- [x] 13111 — The Price is Correct
- [x] 13117 — ACIS, A Contagious vIruS
- [x] 13118 — Binary Land
- [x] 13119 — Castaways
- [x] 13121 — Eclipsing Gianik Star
- [x] 13122 — Funny Cardiologist
- [x] 13123 — Christmas Lights
- [x] 13124 — Socialhare
- [x] 13125 — Water Troubles
- [x] 13126 — Wildcards
- [x] 13127 — Bank Robbery
- [x] 13130 — Cacho
- [x] 13184 — Counting Edges and Graphs
- [x] 13185 — DPA Numbers I
- [x] 13187 — Felipe and the Sequence
- [x] 13189 — Humbertov and the Triangular Spiral
- [x] 13190 — Rockabye Tobby
- [x] 13191 — Tobby Primes
- [x] 13193 — Rotations
- [x] 13194 — DPA Numbers II