Skip to content

About

Solutions in C++ to competitive programming problems with comments, organized by difficulty and origin.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

87 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming

AtCoder Solutions

Profile: dvchinx

Table of Contents
Contest Problem Solution Link
ABC476 A - Appender C++ :ac:
ABC476 B - Wild Card C++ :ac:
ABC477 A - Traffic Light C++ :ac:
ABC477 B - Standing Outliers C++ :ac:
ABC479 A - Odd Index Sum C++ :ac:
ABC479 B - Longest Rainy Streak C++ :ac:
ABC479 C - Bento Packing C++ :ac:
ABC480 A - ADjacent C++ :ac:
ABC480 B - Invalid Vote C++ :ac:
ABC480 C - Self Stopping Shower C++ :ac:

Codeforces Solutions

Profile: dvchinx

Table of Contents
ID Problem Difficulty Tags Solution Link
96A Football 900 implementation, strings C++ :cf:
136A Presents 800 implementation, math C++ :cf:
141A Amusing Joke 800 implementation, sortings, strings C++ :cf:
144A Arrival of the General 800 implementation C++ :cf:
151A Soft Drinking 800 implementation, math C++ :cf:
268A Games 800 brute force C++ :cf:
363B Fence 1100 implementation, dp C++ :cf:
427A Police Recruits 800 data structures, implementation C++ :cf:
443A Anton and Letters 800 implementation, strings C++ :cf:
469A I Wanna Be the Guy 800 greedy, implementation C++ :cf:
489A SwapSort 1200 greedy, sorting, implementation C++ :cf:
510A Fox and Snake 800 implementation C++ :cf:
520A Pangram 800 implementation, strings C++ :cf:
996A Hit the Lottery 800 greedy, math C++ :cf:
1335A Candies and Two Sisters 800 math C++ :cf:
1703A YES or YES? 800 implementation, strings C++ :cf:
1899A Game with Integers 800 games, math C++ :cf:
2264A Rumb Needs a Hand 800 implementation, sortings, two pointers C++ :cf:
266B Queue at School 1000 implementation, two pointers C++ :cf:
1690D Black and White Stripe 1000 implementation, two pointers C++ :cf:
2266A Good Contest - greedy C++ :cf:
2266B Three Piles - games, greedy, math C++ :cf:
2266C AND, OR, Sort! - greedy, strings C++ :cf:
2267A Turn Into a Palindrome - constructive algorithms, greedy C++ :cf:
2269A SauSaGe Bank - greedy C++ :cf:
2269B KiaKio and Squared Numbers - brute force, implementation C++ :cf:
2275A In Search of Convenience - - C++ :cf:
2275B Did not Go to Print - - C++ :cf:
2275C Unrequited Love - - C++ :cf:

Kattis Solutions

Profile: jesus-florez

Table of Contents
Problem Difficulty Solution Link
Palindrome 1.2 C++ :cat:
Detailed Differences 1.3 C++ :cat:
Maximum Number 1.3 C++ :cat:
Judging Moose 1.4 C++ :cat:
Mixed Fractions 1.4 C++ :cat:
Bracket Matching 1.4 C++ :cat:
Playing Piano 1.4-1.5 C++ :cat:
Touch Grass 1.4-1.5 C++ :cat:
Roaming Romans 1.5 C++ :cat:
Video Games 1.5 C++ :cat:
Sum of Powers 1.5 C++ / Python :cat:
Car Racing 1.5 C++ :cat:
Dralinpome 1.5 C++ :cat:
ACM Contest Scoring 1.5 C++ :cat:
Danish Date Format 1.5 C++ :cat:
Arm Coordination 1.6 C++ :cat:
Patuljci 1.6 C++ :cat:
Democratic Naming 1.6 C++ :cat:
Krizaljka 1.6 C++ :cat:
Neumann 1.6 C++ :cat:
Bacon, Eggs, and Spam 1.7 C++ / Python :cat:
Sudoku Verify 1.7 C++ :cat:
Sideways Sorting 1.7 C++ :cat:
Medicine Drug 1.7 C++ :cat:
Multiple Choice 1.8 C++ :cat:
Where's My Internet? 1.8 C++ :cat:
Broken Calculator 2.5 C++ :cat:
Beekeeper 2.6 C++ :cat:
Eight Queens 2.7 C++ :cat:
Disastrous Downtime 2.7 C++ :cat:
Selecting Tiles 3.9 C++ :cat:

LeetCode Solutions

Profile: dvchinx_

Table of Contents
Problem Difficulty Solution Link
Two Sum Easy C++ :lc:
Palindrome Number Easy C++ :lc:
Merge Strings Alternately Easy C++ :lc:
Find Closest Number to Zero Easy C++ :lc:
Longest Common Prefix Easy C++ :lc:
Valid Parentheses Easy C++ :lc:
Remove Duplicates from Sorted Array Easy C++ :lc:
Remove Element Easy C++ :lc:
Search Insert Position Easy C++ :lc:
Length of Last Word Easy C++ :lc:
Plus One Easy C++ :lc:
Add Binary Easy C++ :lc:
Roman to Integer Easy C++ :lc:
Maximum Average Subarray I Easy C++ :lc:
Sqrt(x) Easy C++ :lc:
Two Sum II - Input Array Is Sorted Medium C++ :lc:
Sum of Squares of Special Elements Easy C++ :lc:
Longest Substring Without Repeating Characters Medium C++ :lc:

About

Solutions in C++ to competitive programming problems with comments, organized by difficulty and origin.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages