Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
KHvic
/
uva-online-judge
Public
Notifications
You must be signed in to change notification settings
Fork
9
Star
46
Code
Issues
2
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
551 Commits
551 Commits
10003-Cutting Sticks.cpp
10003-Cutting Sticks.cpp
10004-Bicoloring.cpp
10004-Bicoloring.cpp
10005-Packing polygons.cpp
10005-Packing polygons.cpp
10010-Where's Waldorf?.cpp
10010-Where's Waldorf?.cpp
10020-Minimal coverage.cpp
10020-Minimal coverage.cpp
10026-Shoemaker's Problem.cpp
10026-Shoemaker's Problem.cpp
10029-Edit Step Ladders.cpp
10029-Edit Step Ladders.cpp
10032-Tug of War.cpp
10032-Tug of War.cpp
10036-Divisibility.cpp
10036-Divisibility.cpp
10041-Vito's Family.cpp
10041-Vito's Family.cpp
10047-The Monocycle.cpp
10047-The Monocycle.cpp
10048-Audiophobia.cpp
10048-Audiophobia.cpp
10056-What is the Probability ?.cpp
10056-What is the Probability ?.cpp
10057-A mid-summer night's dream.cpp
10057-A mid-summer night's dream.cpp
10063-Knuth's Permutation.cpp
10063-Knuth's Permutation.cpp
10066-The Twin Towers.cpp
10066-The Twin Towers.cpp
10069-Distinct Subsequences.java
10069-Distinct Subsequences.java
10074-Take the Land.cpp
10074-Take the Land.cpp
10077-The Stern-Brocot Number System.cpp
10077-The Stern-Brocot Number System.cpp
10081-Tight Words.cpp
10081-Tight Words.cpp
10086-Test the Rods.cpp
10086-Test the Rods.cpp
10090-Marbles.cpp
10090-Marbles.cpp
10092-The Problem with the Problem Setter.cpp
10092-The Problem with the Problem Setter.cpp
10100-Longest Match.cpp
10100-Longest Match.cpp
10102-The path in the colored field.cpp
10102-The path in the colored field.cpp
10104-Euclid Problem.cpp
10104-Euclid Problem.cpp
10125-Sumsets.cpp
10125-Sumsets.cpp
10128-Queue.cpp
10128-Queue.cpp
10130-SuperSale.cpp
10130-SuperSale.cpp
10131-Is Bigger Smarter?.cpp
10131-Is Bigger Smarter?.cpp
10132-File Fragmentation.cpp
10132-File Fragmentation.cpp
10138-CDVII.cpp
10138-CDVII.cpp
10139-Factovisors.cpp
10139-Factovisors.cpp
10147-Highways.cpp
10147-Highways.cpp
10149-Yahtzee.cpp
10149-Yahtzee.cpp
10152-ShellSort.cpp
10152-ShellSort.cpp
10154-Weights and Measures.cpp
10154-Weights and Measures.cpp
10163-Storage Keepers.cpp
10163-Storage Keepers.cpp
10168-Summation of Four Primes.cpp
10168-Summation of Four Primes.cpp
10171-Meeting Prof Miguel.cpp
10171-Meeting Prof Miguel.cpp
10172-The Lonesome Cargo Distributor.cpp
10172-The Lonesome Cargo Distributor.cpp
10176 - Ocean Deep!-Make it shallow!!.cpp
10176 - Ocean Deep!-Make it shallow!!.cpp
10177-(2 3 4)-D Sqr Rects Cubes Boxes?.cpp
10177-(2 3 4)-D Sqr Rects Cubes Boxes?.cpp
10179-Irreducable Basic Fractions.cpp
10179-Irreducable Basic Fractions.cpp
10181-15-Puzzle Problem.cpp
10181-15-Puzzle Problem.cpp
10192-Vacation.cpp
10192-Vacation.cpp
10194-Football (aka Soccer).cpp
10194-Football (aka Soccer).cpp
102-Ecological Bin Packing.cpp
102-Ecological Bin Packing.cpp
10212-The Last Non-zero Digit.cpp
10212-The Last Non-zero Digit.cpp
10218-Let's Dance !!!.cpp
10218-Let's Dance !!!.cpp
10226-Hardwood Species.cpp
10226-Hardwood Species.cpp
10227-Forest.cpp
10227-Forest.cpp
10235-Simply Emirp.java
10235-Simply Emirp.java
10249-The Grand Dinner.cpp
10249-The Grand Dinner.cpp
10252-Common Permutation.cpp
10252-Common Permutation.cpp
10258-Contest Scoreboard.cpp
10258-Contest Scoreboard.cpp
10261-Ferry Loading.cpp
10261-Ferry Loading.cpp
10263-Railway.cpp
10263-Railway.cpp
10264-The Most Potent Corner.cpp
10264-The Most Potent Corner.cpp
10271-Chopsticks.cpp
10271-Chopsticks.cpp
10276-Hanoi Tower Troubles Again!.cpp
10276-Hanoi Tower Troubles Again!.cpp
10282-Babelfish.cpp
10282-Babelfish.cpp
10295-Hay Points.cpp
10295-Hay Points.cpp
10298-Power Strings.cpp
10298-Power Strings.cpp
10302-Summation of Polynomials.cpp
10302-Summation of Polynomials.cpp
10304-Optimal Binary Search Tree.cpp
10304-Optimal Binary Search Tree.cpp
10305-Ordering Tasks.cpp
10305-Ordering Tasks.cpp
10306-e-Coins.cpp
10306-e-Coins.cpp
10313-Pay the Price.cpp
10313-Pay the Price.cpp
10325-The Lottery.cpp
10325-The Lottery.cpp
10334-Ray Through Glasses.java
10334-Ray Through Glasses.java
10337-Flight Planner.cpp
10337-Flight Planner.cpp
10338-Mischievous Children.cpp
10338-Mischievous Children.cpp
10340-All in All.cpp
10340-All in All.cpp
10341-Solve It.cpp
10341-Solve It.cpp
10344-23 out of 5.cpp
10344-23 out of 5.cpp
10346-Peter's Smokes.cpp
10346-Peter's Smokes.cpp
10360-Rat Attack.cpp
10360-Rat Attack.cpp
10364-Square.cpp
10364-Square.cpp
10365-Blocks.cpp
10365-Blocks.cpp
10369-Arctic Network.cpp
10369-Arctic Network.cpp
10382-Watering Grass.cpp
10382-Watering Grass.cpp
10394-Twin Primes.cpp
10394-Twin Primes.cpp
104-Arbitrage.cpp
104-Arbitrage.cpp
10400-Game Show Math.cpp
10400-Game Show Math.cpp
10405-Longest Common Subsequence.cpp
10405-Longest Common Subsequence.cpp
10407-Simple division.cpp
10407-Simple division.cpp
10446-The Marriage Interview :-).cpp
10446-The Marriage Interview :-).cpp
10452-Marcus.cpp
10452-Marcus.cpp
10453-Make Palindrome.cpp
10453-Make Palindrome.cpp
10460-Find the Permuted String.cpp
10460-Find the Permuted String.cpp
10461-Difference.cpp
10461-Difference.cpp
10465-Homer Simpson.cpp
10465-Homer Simpson.cpp
10469-To Carry or not to Carry.cpp
10469-To Carry or not to Carry.cpp
1047-Zones.cpp
1047-Zones.cpp
10474 - Where is the Marble?.cpp
10474 - Where is the Marble?.cpp
10475-Help the Leaders.cpp
10475-Help the Leaders.cpp
10482-The Candyman Can.cpp
10482-The Candyman Can.cpp
10487-Closest Sums.cpp
10487-Closest Sums.cpp
10491-Cows and Cars.cpp
10491-Cows and Cars.cpp
View all files
About
Solutions to 500+ UVa Online Judge problems
Topics
advanced-algorithms
advanced-data-structures
competitive-programming
cpp
java-8
uva
uva-online-judge
uva-problem-solving
Activity
Stars
46
stars
Watchers
1
watching
Forks
9
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.