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
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 }}
sureshmangs
/
Code
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
12
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
Code
/
competitive programming
/
codeforces
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
Code
/
competitive programming
/
codeforces
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1055A - Metro.cpp
1055A - Metro.cpp
1056A - Determine Line.cpp
1056A - Determine Line.cpp
1075A - The King's Race.cpp
1075A - The King's Race.cpp
10A - Power Consumption Calculation.cpp
10A - Power Consumption Calculation.cpp
110A - Nearly Lucky Number.cpp
110A - Nearly Lucky Number.cpp
1113A - Sasha and His Trip.cpp
1113A - Sasha and His Trip.cpp
112A - Petya and Strings.cpp
112A - Petya and Strings.cpp
1141B - Maximal Continuous Rest.cpp
1141B - Maximal Continuous Rest.cpp
1146A - Love A.cpp
1146A - Love A.cpp
115A - Party.cpp
115A - Party.cpp
1162A - Zoning Restrictions Again.cpp
1162A - Zoning Restrictions Again.cpp
116A - Tram.cpp
116A - Tram.cpp
1180A - Alex and a Rhombus.cpp
1180A - Alex and a Rhombus.cpp
1182A - Filling Shapes.cpp
1182A - Filling Shapes.cpp
1186A - Vus the Cossack and a Contest.cpp
1186A - Vus the Cossack and a Contest.cpp
1220A - Cards.cpp
1220A - Cards.cpp
1223A - CME.cpp
1223A - CME.cpp
122A - Lucky Division.cpp
122A - Lucky Division.cpp
1238A - Prime Subtraction.cpp
1238A - Prime Subtraction.cpp
1250F - Data Center.cpp
1250F - Data Center.cpp
1260B - Make Product Equal One.cpp
1260B - Make Product Equal One.cpp
1272A - Three Friends.cpp
1272A - Three Friends.cpp
1281A - Suffix Three.cpp
1281A - Suffix Three.cpp
1283B - Candies Division.cpp
1283B - Candies Division.cpp
1284A - New Year and Naming.cpp
1284A - New Year and Naming.cpp
1295A - Display The Number.cpp
1295A - Display The Number.cpp
1296B - Food Buying.cpp
1296B - Food Buying.cpp
12A - Super Agent.cpp
12A - Super Agent.cpp
131A - cAPS lOCK.cpp
131A - cAPS lOCK.cpp
1323A - Even Subset Sum Problem.cpp
1323A - Even Subset Sum Problem.cpp
1324A - Yet Another Tetris Problem.cpp
1324A - Yet Another Tetris Problem.cpp
1326B - Maximums.cpp
1326B - Maximums.cpp
1328A - Divisibility Problem.cpp
1328A - Divisibility Problem.cpp
1330A - Dreamoon and Ranking Collection.cpp
1330A - Dreamoon and Ranking Collection.cpp
1335A - Candies and Two Sisters.cpp
1335A - Candies and Two Sisters.cpp
1335B - Construct the String.cpp
1335B - Construct the String.cpp
1337B - Kana and Dragon Quest game.cpp
1337B - Kana and Dragon Quest game.cpp
1339A - Filling Diamonds.cpp
1339A - Filling Diamonds.cpp
133A - HQ9+.cpp
133A - HQ9+.cpp
1341A - Nastya and Rice.cpp
1341A - Nastya and Rice.cpp
1343A - Candies.cpp
1343A - Candies.cpp
1343B - Balanced Array.cpp
1343B - Balanced Array.cpp
1348A - Phoenix and Balance.cpp
1348A - Phoenix and Balance.cpp
1350A - Orac and Factors.cpp
1350A - Orac and Factors.cpp
1350C - Orac and LCM.cpp
1350C - Orac and LCM.cpp
1352A - Sum of Round Numbers.cpp
1352A - Sum of Round Numbers.cpp
1353A - Most Unstable Array.cpp
1353A - Most Unstable Array.cpp
1353B - Two Arrays And Swaps.cpp
1353B - Two Arrays And Swaps.cpp
1354A - Alarm Clock.cpp
1354A - Alarm Clock.cpp
1359B - New Theatre Square.cpp
1359B - New Theatre Square.cpp
1360A - Minimal Square.cpp
1360A - Minimal Square.cpp
1360B - Honest Coach.cpp
1360B - Honest Coach.cpp
1367A - Short Substrings.cpp
1367A - Short Substrings.cpp
1367B - Even Array.cpp
1367B - Even Array.cpp
136A - Presents.cpp
136A - Presents.cpp
1370A - Maximum GCD.cpp
1370A - Maximum GCD.cpp
1371A - Magical Sticks.cpp
1371A - Magical Sticks.cpp
1373B - 01 Game.cpp
1373B - 01 Game.cpp
1374A - Required Remainder.cpp
1374A - Required Remainder.cpp
1374B - Multiply by 2, divide by 6.cpp
1374B - Multiply by 2, divide by 6.cpp
1380A - Three Indices.cpp
1380A - Three Indices.cpp
1385B - Restore the Permutation by Merger.cpp
1385B - Restore the Permutation by Merger.cpp
1399B - Gifts Fixing.cpp
1399B - Gifts Fixing.cpp
1406A - Subset Mex.cpp
1406A - Subset Mex.cpp
1409A - Yet Another Two Integers Problem.cpp
1409A - Yet Another Two Integers Problem.cpp
1419A - Digit Game.cpp
1419A - Digit Game.cpp
141A - Amusing Joke.cpp
141A - Amusing Joke.cpp
1420A - Cubes Sorting.cpp
1420A - Cubes Sorting.cpp
1426B - Symmetric Matrix.cpp
1426B - Symmetric Matrix.cpp
1430A - Number of Apartments.cpp
1430A - Number of Apartments.cpp
1433C - Dominant Piranha.cpp
1433C - Dominant Piranha.cpp
1436B - Prime Square.cpp
1436B - Prime Square.cpp
1440A -Buy the String.cpp
1440A -Buy the String.cpp
1440B - Sum of Medians.cpp
1440B - Sum of Medians.cpp
144A - Arrival of the General.cpp
144A - Arrival of the General.cpp
1450A - Avoid Trygub.cpp
1450A - Avoid Trygub.cpp
1451B - Non-Substring Subsequence.cpp
1451B - Non-Substring Subsequence.cpp
1452A - Robot Program.cpp
1452A - Robot Program.cpp
1452C - Two Brackets.cpp
1452C - Two Brackets.cpp
1461A - String Generation.cpp
1461A - String Generation.cpp
1462B - Last Year's Substring.cpp
1462B - Last Year's Substring.cpp
1462C - Unique Number.cpp
1462C - Unique Number.cpp
1465A - In-game Chat.cpp
1465A - In-game Chat.cpp
1465B - Fair Numbers.cpp
1465B - Fair Numbers.cpp
1466A - Bovine Dilemma.cpp
1466A - Bovine Dilemma.cpp
1466B - Last minute enhancements.cpp
1466B - Last minute enhancements.cpp
1467A - Wizard of Orz.cpp
1467A - Wizard of Orz.cpp
1467B - Hills And Valleys.cpp
1467B - Hills And Valleys.cpp
1469B - Red and Blue.cpp
1469B - Red and Blue.cpp
1472B - Fair Division.cpp
1472B - Fair Division.cpp
1473A - Replacing Elements.cpp
1473A - Replacing Elements.cpp
1473B - String LCM.cpp
1473B - String LCM.cpp
1474A - Puzzle From the Future.cpp
1474A - Puzzle From the Future.cpp
1475A - Odd Divisor.cpp
1475A - Odd Divisor.cpp
1475B - New Year's Number.cpp
1475B - New Year's Number.cpp
1486A - Shifting Stacks.cpp
1486A - Shifting Stacks.cpp
148A - Insomnia cure.cpp
148A - Insomnia cure.cpp
1490A - Dense Array.cpp
1490A - Dense Array.cpp
1490B - Balanced Remainders.cpp
1490B - Balanced Remainders.cpp
1494A - ABC String.cpp
1494A - ABC String.cpp
View all files
README.MD
Codeforces problem solutions
Codeforces:
Codeforces
You can’t perform that action at this time.