Skip to content

masonhorne/Kattis-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kattis Problem Solutions

Table of Contents

Problem Difficulty Solution Link
Hello World 1.1 C++ :cat:
Two-sum 1.3 C++ :cat:
Triangle Area 1.3 C++ :cat:
Tarifa 1.3 C++ :cat:
Take Two Stones 1.3 C++ :cat:
Stuck In A Time Loop 1.3 C++ :cat:
Sort Two Numbers 1.3 C++ :cat:
Solving for Carrots 1.3 C++ :cat:
R2 1.3 C++ :cat:
Quality-Adjusted Life-Year 1.3 C++ :cat:
Quadrant Selection 1.3 C++ :cat:
Pot 1.3 C++ :cat:
Planina 1.3 C++ :cat:
N-sum 1.3 C++ :cat:
Nasty Hacks 1.3 C++ :cat:
Jumbo Javelin 1.3 C++ :cat:
Jack-O'-Lantern Juxtaposition 1.3 C++ :cat:
Heart Rate 1.3 C++ :cat:
Greetings! 1.3 C++ :cat:
Grass Seed Inc. 1.3 C++ :cat:
GCVWR 1.3 C++ :cat:
FYI 1.3 C++ :cat:
FizzBuzz 1.3 C++ :cat:
Finding An A 1.3 C++ :cat:
Filip 1.3 C++ :cat:
Faktor 1.3 C++ :cat:
Eye of Sauron 1.3 C++ :cat:
Electrical Outlets 1.3 C++ :cat:
Echo Echo Echo 1.3 C++ :cat:
Digit Swap 1.3 C++ :cat:
Dice Cup 1.3 C++ :cat:
Count the Vowels 1.3 C++ :cat:
Cold-puter Science 1.3 C++ :cat:
Chanukah Challenge 1.3 C++ :cat:
Bijele 1.3 C++ :cat:
Betting 1.3 C++ :cat:
Bela 1.3 C++ :cat:
Batter Up 1.3 C++ :cat:
Autori 1.3 C++ :cat:
Add Two Numbers 1.3 C++ :cat:
Homework 1.1 - 1.4 C++ :cat:
Smil 1.3 - 1.4 C++ :cat:
Odd Echo 1.3 - 1.4 C++ :cat:
Building Pyramids 1.4 C++ :cat:
Zamka 1.4 C++ :cat:
Which is Greater? 1.4 C++ :cat:
Weak Vertices 1.4 C++ :cat:
Trik 1.4 C++ :cat:
Transit Woes 1.4 C++ :cat:
Stopwatch 1.4 C++ :cat:
Stand on Zanzibar 1.4 C++ :cat:
Spavanac 1.4 C++ :cat:
Sibice 1.4 C++ :cat:
Shattered Cake 1.4 C++ :cat:
Seven Wonders 1.4 C++ :cat:
Reversed Binary Numbers 1.4 C++ :cat:
Relocation 1.4 C++ :cat:
Rating Problems 1.4 C++ :cat:
Provinces and Gold 1.4 C++ :cat:
Pet 1.4 C++ :cat:
Pokechat 1.4 C++ :cat:
Parking 1.4 C++ :cat:
Oddities 1.4 C++ :cat:
Magic Trick 1.4 C++ :cat:
Laptop Sticker 1.4 C++ :cat:
Ladder 1.4 C++ :cat:
Kornislav 1.4 C++ :cat:
Knight Packing 1.4 C++ :cat:
Knot Knowledge 1.4 C++ :cat:
Job Expenses 1.4 C++ :cat:
Janitor Troubles 1.4 C++ :cat:
I've Been Everywhere, Man 1.4 C++ :cat:
IsItHalloween.com 1.4 C++ :cat:
Hissing Microphone 1.4 C++ :cat:
Forced Choice 1.4 C++ :cat:
Fifty Shades of Pink 1.4 C++ :cat:
Encoded Message 1.4 C++ :cat:
DRM Messages 1.4 C++ :cat:
Double Password 1.4 C++ :cat:
Detailed Differences 1.4 C++ :cat:
Datum 1.4 C++ :cat:
Cudoviste 1.4 C++ :cat:
Cryptographer's Conundrum 1.4 C++ :cat:
CPR Number 1.4 C++ :cat:
Cetvrta 1.4 C++ :cat:
Avion 1.4 C++ :cat:
Apaxiaaaaaaaaaaaans! 1.4 C++ :cat:
Alphabet Spam 1.4 C++ :cat:
Reverse 1.2 - 1.5 C++ :cat:
Skru op! 1.3 - 1.5 C++ :cat:
Ultimate Binary Watch 1.5 C++ :cat:
The Amazing Human Cannonball 1.5 C++ :cat:
Tetration 1.5 C++ :cat:
T9 Spelling 1.5 C++ :cat:
Tai's Formula 1.5 C++ :cat:
Sum Squared Digits Function 1.5 C++ :cat:
Sum Kind of Problem 1.5 C++ :cat:
Speed Limit 1.5 C++ :cat:
Speeding 1.5 C++ :cat:
Simon Says 1.5 C++ :cat:
Roaming Romans 1.5 C++ :cat:
Railroad 1.5 C++ :cat:
Racing Around the Alphabet 1.5 C++ :cat:
Quick Estimates 1.5 C++ :cat:
Poker Hand 1.5 C++ :cat:
Piece of Cake! 1.5 C++ :cat:
Number Fun 1.5 C++ :cat:
No Duplicates 1.5 C++ :cat:
Modulo 1.5 C++ :cat:
Last Factorial Digit 1.5 C++ :cat:
Kleptography 1.5 C++ :cat:
Judging Moose 1.5 C++ :cat:
ICPC Awards 1.5 C++ :cat:
Help a PhD Candidate out! 1.5 C++ :cat:
Beavergnaw 1.6 C++ :cat:
Greedy Polygons 1.6 C++ :cat:
Joint Jog Jam 1.6 C++ :cat:
Skener 1.6 C++ :cat:
Closing the Loop 1.7 C++ :cat:
Jewelry Box 1.7 C++ :cat:
Odd Gnome 1.7 C++ :cat:
Pizza Crust 1.7 C++ :cat:
Prozor 1.7 C++ :cat:
Falling Apart 1.8 C++ :cat:
Flexible Spaces 1.8 C++ :cat:
Blueberry Waffle 1.9 Python :cat:
Buka 1.9 Python :cat:
Costume Contest 1.9 C++ :cat:
Das Blinkenlights 1.9 C++ :cat:
Saving For Retirement 1.9 C++ :cat:
Sheba's Amoebas 1.9 C++ :cat:
Oktalni 2.0 Python :cat:
Overdraft 2.0 C++ :cat:
Prerequisites? 2.0 C++ :cat:
Sun and Moon 2.0 C++ :cat:
Egypt 2.1 C++ :cat:
Streets Ahead 2.1 C++ :cat:
Test Drive 2.1 C++ :cat:
Triangle Ornaments 2.1 C++ :cat:
Jazz it Up! 2.1 C++ :cat:
Beehives 2.2 C++ :cat:
Warehouse 2.2 C++ :cat:
Welcome to Code Jam (Easy) 2.2 C++ :cat:
The Deal of the Day 2.2 C++ :cat:
Character Development 2.3 C++ :cat:
Bridges 2.3 C++ :cat:
Compositions 2.3 C++ :cat:
Perket 2.3 C++ :cat:
Geppeto 2.3 C++ :cat:
Pebble Solitaire 2.4 C++ :cat:
A New Alphabet 2.5 C++ :cat:
Best Compression Ever 2.6 C++ :cat:
Bottled-Up Feelings 2.6 C++ :cat:
Getting Gold 2.6 C++ :cat:
Pivot 2.6 C++ :cat:
Noonerized Spumbers 2.7 C++ :cat:
Sticky Situation 2.7 C++ :cat:
Fractional Lotion 2.7 C++ :cat:
Alphabet 2.8 C++ :cat:
Beekeeper 2.8 C++ :cat:
99 Problems 2.8 C++ :cat:
A Different Problem 2.9 C++ :cat:
Good Morning! 2.9 C++ :cat:
Ocean's Anti-11 2.9 C++ :cat:
Temperature Confusion 2.9 C++ :cat:
Almost Perfect 3.0 C++ :cat:
Array Smoothening 3.0 C++ :cat:
Birds on a Wire 3.1 C++ :cat:
Disastrous Downtime 3.1 C++ :cat:
Ignore the Garbage 3.1 C++ :cat:
Mountain Biking 3.2 C++ :cat:
Awkward Party 3.3 C++ :cat:
I Can Guess the Data Structure! 3.3 C++ :cat:
Single source shortest path, non-negative weights 3.3 C++ :cat:
Bungee Builder 3.4 C++ :cat:
Smallest Multiple 3.4 C++ :cat:
Dyslectionary 3.4 C++ :cat:
Jackpot 3.4 C++ :cat:
Lockout 3.4 C++ :cat:
Neighborhood Watch 3.5 C++ :cat:
Raid Teams 3.5 C++ :cat:
Tic Tac Toe Counting 3.5 C++ :cat:
Terraces 3.6 C++ :cat:
Disgruntled Judge 3.7 C++ :cat:
Dominoes 2 3.7 C++ :cat:
Minor Setback 3.7 C++ :cat:
Continuous Median 3.8 C++ :cat:
How Many Digits? 3.8 C++ :cat:
Candy Division 3.9 C++ :cat:
Gregory the Grasshopper 3.9 C++ :cat:
Paintings 3.9 C++ :cat:
Balanced Diet 4.0 C++ :cat:
Bank Queue 4.0 C++ :cat:
Gear Changing 4.0 C++ :cat:
Distributing Ballot Boxes 4.1 C++ :cat:
Highest Hill 4.1 C++ :cat:
A Multiplication Game 4.1 C++ :cat:
Greeting Card 4.2 C++ :cat:
Self-Assembly 4.2 C++ :cat:
Knapsack 4.3 C++ :cat:
Name That Permutation 4.3 C++ :cat:
Welcome to Code Jam (Hard) 4.3 C++ :cat:
Inverted Deck 4.4 C++ :cat:
Fruit Baskets 4.4 C++ :cat:
Exact Change 4.5 C++ :cat:
Pretty Good Cube Root 4.5 C++ :cat:
Join Strings 4.7 C++ :cat:
A Favourable Ending 4.8 C++ :cat:
Exchange Rates 4.8 C++ :cat:
Pascal's Hyper-Pyramids 4.8 C++ :cat:
Class Picture 4.9 C++ :cat:
Pesky Mosquitoes 5.4 C++ :cat:
Classrooms 5.7 C++ :cat:
Keystrokes 1.1 - 5.7 C++ :cat:
Primality 2.6 - 5.8 C++ :cat:
Biggest Slice 6.3 C++ :cat:
Traveling Merchant 6.9 C++ :cat:

Last Updated: January 8th 2024

Bash Functions

Functions that can be used to compile in the directory structure are located within build.sh.

To activate these functions for your current terminal session execute

source build.sh

After this, to execute scripts run...

build <problem-name>

It is expected that there will be an exec directory that will be used for storing the compiled programs.

License

All rights reserved by github.com/masonhorne. Contact me if you want to redistribute the code. No commercial use.

About

A collection of my Kattis Problem Solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages