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 }}
rohitcode26
/
codeforces-solutions
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
1
Code
Issues
0
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
47 Commits
47 Commits
A and B and Compilation Errors.cpp
A and B and Compilation Errors.cpp
A and B and chess.cpp
A and B and chess.cpp
Adding Powers.cpp
Adding Powers.cpp
Alex and a Rhombus.cpp
Alex and a Rhombus.cpp
Alice, Bob and Candies.cpp
Alice, Bob and Candies.cpp
Alternating Subsequence.cpp
Alternating Subsequence.cpp
Amr and Pins.cpp
Amr and Pins.cpp
Andryusha and Colored Balloons.cpp
Andryusha and Colored Balloons.cpp
Andryusha and Socks.cpp
Andryusha and Socks.cpp
Anti-Sudoku.cpp
Anti-Sudoku.cpp
Anton and Digits.cpp
Anton and Digits.cpp
Anton and Making Potions.cpp
Anton and Making Potions.cpp
Array Sharpening.cpp
Array Sharpening.cpp
Array Splitting.cpp
Array Splitting.cpp
Bachgold Problem.cpp
Bachgold Problem.cpp
Bad Ugly Numbers.cpp
Bad Ugly Numbers.cpp
Balanced Array.cpp
Balanced Array.cpp
Balanced Team.cpp
Balanced Team.cpp
Basketball Exercise.cpp
Basketball Exercise.cpp
Bear and Friendship Condition.cpp
Bear and Friendship Condition.cpp
Bear and Poker.cpp
Bear and Poker.cpp
Bear and Three Musketeers.cpp
Bear and Three Musketeers.cpp
BerSU Ball.cpp
BerSU Ball.cpp
Binary Period.cpp
Binary Period.cpp
Biridian Forest.cpp
Biridian Forest.cpp
Board Moves.cpp
Board Moves.cpp
Bogosort.cpp
Bogosort.cpp
Books Exchange (easy version).cpp
Books Exchange (easy version).cpp
Books.cpp
Books.cpp
Boredom.cpp
Boredom.cpp
Boxes Packing.cpp
Boxes Packing.cpp
Buying Shovels.cpp
Buying Shovels.cpp
Candies and Two Sisters.cpp
Candies and Two Sisters.cpp
Candies.cpp
Candies.cpp
Candy Box (easy version).cpp
Candy Box (easy version).cpp
Card Constructions.cpp
Card Constructions.cpp
Cloning Toys.cpp
Cloning Toys.cpp
Co-prime Array.cpp
Co-prime Array.cpp
Coach.cpp
Coach.cpp
Complete the Word.cpp
Complete the Word.cpp
Composite Coloring.cpp
Composite Coloring.cpp
Computer Game.cpp
Computer Game.cpp
Constant Palindrome Sum.cpp
Constant Palindrome Sum.cpp
Constanze's Machine.cpp
Constanze's Machine.cpp
Construct the String.cpp
Construct the String.cpp
Constructing Tests.cpp
Constructing Tests.cpp
Constructing the Array.cpp
Constructing the Array.cpp
CopyCopyCopyCopyCopy.cpp
CopyCopyCopyCopyCopy.cpp
Cormen — The Best Friend Of a Man.cpp
Cormen — The Best Friend Of a Man.cpp
Cow and Friend.cpp
Cow and Friend.cpp
Cow and Haybales.cpp
Cow and Haybales.cpp
Cut 'em all!.cpp
Cut 'em all!.cpp
Cyclic Components.cpp
Cyclic Components.cpp
DZY Loves Chemistry ( DSU code ).cpp
DZY Loves Chemistry ( DSU code ).cpp
DZY Loves Chemistry.cpp
DZY Loves Chemistry.cpp
DZY loves chessboard.cpp
DZY loves chessboard.cpp
Deadline.cpp
Deadline.cpp
Decreasing Heights.cpp
Decreasing Heights.cpp
Devu and his Brother.cpp
Devu and his Brother.cpp
Dice Tower.cpp
Dice Tower.cpp
Dima and Bacteria.cpp
Dima and Bacteria.cpp
Diverse Garland.cpp
Diverse Garland.cpp
Divide by three, multiply by two.cpp
Divide by three, multiply by two.cpp
Divisibility Problem.cpp
Divisibility Problem.cpp
Divisibility by Eight.cpp
Divisibility by Eight.cpp
Dominated Subarray.cpp
Dominated Subarray.cpp
Drazil and Factorial.cpp
Drazil and Factorial.cpp
Dreamoon Likes Permutations.cpp
Dreamoon Likes Permutations.cpp
Dreamoon and Ranking Collection.cpp
Dreamoon and Ranking Collection.cpp
Dreamoon and WiFi.cpp
Dreamoon and WiFi.cpp
Duff in Love.cpp
Duff in Love.cpp
Dungeons and Candies.cpp
Dungeons and Candies.cpp
Edgy Trees.cpp
Edgy Trees.cpp
EhAb AnD gCd.cpp
EhAb AnD gCd.cpp
Ehab and Path-etic MEXs.cpp
Ehab and Path-etic MEXs.cpp
Equalize Prices.cpp
Equalize Prices.cpp
Even But Not Even.cpp
Even But Not Even.cpp
Even Subset Sum Problem.cpp
Even Subset Sum Problem.cpp
Exams.cpp
Exams.cpp
Exercising Walk.cpp
Exercising Walk.cpp
Fadi and LCM.cpp
Fadi and LCM.cpp
Fafa and his Company.cpp
Fafa and his Company.cpp
Fedor and New Game.cpp
Fedor and New Game.cpp
Fedya and Maths.cpp
Fedya and Maths.cpp
Filling Diamonds.cpp
Filling Diamonds.cpp
Fix a Tree.cpp
Fix a Tree.cpp
Fixing Typos.cpp
Fixing Typos.cpp
Fox And Two Dots.cpp
Fox And Two Dots.cpp
Fox and Box Accumulation.cpp
Fox and Box Accumulation.cpp
Fridge Lockers.cpp
Fridge Lockers.cpp
Game With Array.cpp
Game With Array.cpp
Given Length and Sum of Digits.cpp
Given Length and Sum of Digits.cpp
Good Array.cpp
Good Array.cpp
HQ9+.cpp
HQ9+.cpp
Hamster Farm.cpp
Hamster Farm.cpp
Han Solo and Lazer Gun.cpp
Han Solo and Lazer Gun.cpp
Hard Process.cpp
Hard Process.cpp
Hilbert's Hotel.cpp
Hilbert's Hotel.cpp
Hit the Lottery.cpp
Hit the Lottery.cpp
Honest coach.cpp
Honest coach.cpp
View all files
About
source code for codeforces problems
Topics
algortihms
codeforces
codeforces-com
codeforces-problems
codeforces-solutions
competitve-programming
cpp
cpp11
cpp14
cpp17
data-structures
solutions
Activity
Stars
1
star
Watchers
1
watching
Forks
4
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.