Skip to content
My accepted solutions in Codeforces online judge (www.codeforces.com)
C++ Pascal C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
1001B-GenerateBellstate.cs
1001C-GenerateGHZstate.cs
1001D-Distinguishplusstateandminusstate.cs
1001E-DistinguishBellstates.cs
1001F-Distinguishmulti-qubitbasisstates.cs
1001G-Oracleforf(x)=k-thelementofx.cs
1001H-Oracleforf(x)=parityofthenumberof1sinx.cs
1008A-Romaji.cpp
1008B-TurntheRectangles.cpp
1008C-ReordertheArray.cpp
1009A-GameShopping.cpp
1009C-AnnoyingPresent.cpp
1013A-PilesWithStones.cpp
1013B-And.cpp
1013C-PhotoofTheSky.cpp
1016C-VasyaAndTheMushrooms.cpp
1029A-ManyEqualSubstrings.cpp
1029B-CreatingtheContest.cpp
1037A-Packets.cpp
1037B-ReachMedian.cpp
1037D-ValidBFS?.cpp
1041A-Heist.cpp
1041B-BuyingaTVSet.cpp
1041C-CoffeeBreak.cpp
109A-LuckySumofDigits.cpp
110A-NearlyLuckyNumber.pas Add accepted solutions Sep 22, 2018
112A-PetyaandStrings.pas
116A-Tram.cpp
118A-StringTask.pas
119A-EpicGame.cpp
122A-LuckyDivision.cpp
124A-Thenumberofpositions.pas
126C-E-readerDisplay.cpp
129A-Cookies.pas
131A-cAPSlOCK.pas
131B-OppositesAttract.pas
131C-TheWorldisaTheatre.pas
133A-HQ9+.pas
133B-Unary.pas
134A-AverageNumbers.pas
134B-PairsofNumbers.pas Add accepted solutions Sep 22, 2018
136A-Presents.pas
136B-TernaryLogic.pas
139A-PetrandBook.pas
140A-NewYearTable.pas
141A-AmusingJoke.pas
144A-ArrivaloftheGeneral.pas Add accepted solutions Sep 22, 2018
144B-Meeting.pas
144C-AnagramSearch.pas
144D-MissileSilos.cpp
145A-LuckyConversion.pas
146A-LuckyTicket.cpp
146B-LuckyMask.cpp
146C-LuckyConversion.pas
147A-Punctuation.pas
147B-SmileHouse.cpp
148A-Insomniacure.pas
148B-Escape.pas
148C-Terseprincess.pas
148D-Bagofmice.cpp
149A-Businesstrip.pas
149B-MartianClock.pas
149E-MartianStrings.cpp
152A-Marks.pas
152B-Steps.pas
152C-PocketBook.pas
155A-I_love_\%username\%.pas
155A-I_love_username.pas
158A-NextRound.pas
158B-Taxi.pas
158C-Cdandpwdcommands.pas
158D-IceSculptures.pas
159C-StringManipulation1.0.cpp
160A-Twins.cpp
160D-EdgesinMST.cpp
165C-AnotherProblemonStrings.cpp
165C-AnotherProblemonStrings.pas
166E-Tetrahedron.cpp Add accepted solutions Sep 22, 2018
16A-Flag.cpp
16B-BurglarandMatches.cpp
16C-Monitor.cpp
16D-Logging.cpp
172A-PhoneCode.pas
172B-PseudorandomSequencePeriod.pas
175A-RobotBicornAttack.pas
177A1-GoodMatrixElements.pas
177A2-GoodMatrixElements.pas
177B1-RectangularGame.pas
177B2-RectangularGame.pas
177D1-EncryptingMessages.pas
181A-SeriesofCrimes.pas
181B-NumberofTriplets.pas
182B-Vasya'sCalendar.pas
182D-CommonDivisors.pas
186A-ComparingStrings.pas
186B-GrowingMushrooms.cpp
186C-Plant.pas
189A-CutRibbon.cpp
190B-Surrounded.pas
190D-Non-SecretCypher.cpp
191C-FoolsandRoads.cpp
196A-LexicographicallyMaximumSubsequence.pas
199A-Hexadecimal'stheorem.pas
1A-TheatreSquare.pas
200B-Drinks.pas Add accepted solutions Sep 22, 2018
200D-ProgrammingLanguage.pas
201A-ClearSymmetry.pas
202A-LLPS.pas
202C-ClearSymmetry.pas
204B-LittleElephantandCards.cpp
205A-LittleElephantandRozdil.pas
205D-LittleElephantandCards.cpp
208E-BloodCousins.cpp
20C-Dijkstra?.cpp
214B-Hometask.cpp
215A-BicycleChain.cpp
215B-OlympicMedal.cpp
216D-Spider'sWeb.cpp
218A-MountainScenery.cpp
218B-Airport.cpp
218C-IceSkating.cpp
220C-LittleElephantandShifts.cpp
221A-LittleElephantandFunction.cpp
221B-LittleElephantandNumbers.cpp
221C-LittleElephantandProblem.cpp
225A-DiceTower.cpp
225B-Well-knownNumbers.cpp
226A-FlyingSaucerSegments.cpp
227A-WheredoITurn?.cpp
227B-EffectiveApproach.cpp
227C-FlyingSaucerSegments.cpp
229C-Triangles.cpp
22A-SecondOrderStatistics.cpp
22B-BargainingTable.cpp
22C-SystemAdministrator.cpp
22D-Segments.cpp
230A-Dragons.cpp
230B-T-primes.cpp
230C-Shifts.cpp
230E-Triangles.cpp
231A-Team.cpp
234B-Reading.cpp
239A-TwoBagsofPotatoes.cpp
246A-BuggySorting.cpp Add accepted solutions Sep 22, 2018
246B-IncreaseandDecrease.cpp
246D-ColorfulGraph.cpp
248A-Cupboards.cpp
248B-ChillyWilly.cpp
250A-PaperWork.cpp
250B-RestoringIPv6.cpp
250C-MovieCritics.cpp
253A-BoysandGirls.cpp
253B-PhysicsPractical.cpp
253C-TextEditor.cpp
255A-Greg'sWorkout.cpp
255B-CodeParsing.cpp
257A-Sockets.cpp
257B-PlayingCubes.cpp
258A-LittleElephantandBits.cpp
259A-LittleElephantandChess.cpp
259B-LittleElephantandMagicSquare.cpp
259C-LittleElephantandBits.cpp
259D-LittleElephantandElections.cpp
25A-IQtest.cpp
25A-IQtest.pas
25B-Phonenumbers.cpp
25C-RoadsinBerland.cpp
25D-RoadsnotonlyinBerland.cpp
260A-AddingDigits.cpp
260B-AncientProphesy.cpp
260C-BallsandBoxes.cpp
263A-BeautifulMatrix.cpp
263B-Squares.cpp
263D-CycleinGraph.cpp
264A-EscapefromStones.cpp
265A-ColorfulStones(SimplifiedEdition).cpp
265B-RoadsideTrees(SimplifiedEdition).cpp
265C-EscapefromStones.cpp
266A-StonesontheTable.cpp
266B-QueueattheSchool.cpp
268B-Buttons.cpp
268C-BeautifulSetsofPoints.cpp
269A-MagicalBoxes.cpp
269B-GreenhouseEffect.cpp
270A-FancyFence.cpp
270B-Multithreading.cpp
270C-MagicalBoxes.cpp
270D-GreenhouseEffect.cpp
271A-BeautifulYear.cpp
271B-PrimeMatrix.cpp
271C-Secret.cpp
272A-DimaandFriends.cpp
272B-DimaandSequence.cpp
275A-LightsOut.cpp
275C-k-MultipleFreeSet.cpp
278A-CircleLine.cpp
27A-NextTest.cpp
27B-Tournament.cpp
27C-UnorderedSubsequence.cpp
27D-RingRoad2.cpp
280B-MaximumXorSecondary.cpp
281A-WordCapitalization.cpp
281B-NearestFraction.cpp
282A-Bit++.cpp
282C-XORandOR.cpp
284A-CowsandPrimitiveRoots.cpp
284B-CowsandPokerGame.cpp
284C-CowsandSequence.cpp
285A-SlightlyDecreasingPermutations.cpp
285B-FindMarble.cpp
285C-BuildingPermutation.cpp
285D-PermutationSum.cpp
288A-PolothePenguinandStrings.cpp
288B-PolothePenguinandHouses.cpp
289A-PolothePenguinandSegments.cpp
289B-PolothePenguinandMatrix.cpp
289C-PolothePenguinandStrings.cpp
289D-PolothePenguinandHouses.cpp
290A-Mysteriousstrings.cpp
290B-QRcode.cpp
290C-WTF?.cpp
291A-SpykeTalks.cpp
291B-CommandLineArguments.cpp
292E-CopyingData.cpp
294A-ShaassandOskols.cpp
295B-GregandGraph.cpp
298A-SnowFootprints.cpp
298B-Sail.cpp
2A-Winner.cpp
301A-YaroslavandSequence.cpp
301D-YaroslavandDivisors.cpp
302A-EugenyandArray.cpp
302B-EugenyandPlayList.cpp
302C-YaroslavandSequence.cpp
309C-MemoryforArrays.cpp
311A-TheClosestPair.cpp
312A-Whosesentenceisit?.cpp
312B-Archer.cpp
312C-TheClosestPair.cpp
317A-PerfectPair.cpp
318A-EvenOdds.cpp
318B-StringsofPower.cpp
318C-PerfectPair.cpp
320A-MagicNumbers.cpp
320B-Ping-Pong(EasyVersion).cpp
321C-CieltheCommander.cpp
322A-CielandDancing.cpp
322B-CielandFlowers.cpp
322C-CielandRobot.cpp
327A-FlippingGame.cpp
327B-HungrySequence.cpp
327C-MagicFive.cpp
327D-BlockTower.cpp
333A-Secrets.cpp
333D-CharacteristicsofRectangles.cpp
334A-CandyBags.cpp
334B-EightPointSets.cpp
334C-Secrets.cpp
337D-BookofEvil.cpp
338B-BookofEvil.cpp
339A-HelpfulMaths.cpp
339B-XeniaandRingroad.cpp
339C-XeniaandWeights.cpp
339D-XeniaandBitOperations.cpp
340A-TheWall.cpp
340B-MaximalAreaQuadrilateral.cpp
340D-BubbleSortGraph.cpp
342B-XeniaandSpies.cpp
342E-XeniaandTree.cpp
343D-WaterTree.cpp
344A-Magnets.cpp
344B-SimpleMolecules.cpp
346D-RobotControl.cpp Add accepted solutions Sep 22, 2018
350A-TL.cpp
350B-Resort.cpp
350C-Bombs.cpp
350E-WrongFloyd.cpp
351A-JeffandRounding.cpp
351B-JeffandFurik.cpp
353A-Domino.cpp
353B-TwoHeaps.cpp
353C-FindMaximum.cpp
353D-Queue.cpp
354A-VasyaandRobot.cpp
354C-VasyaandBeautifulArrays.cpp Add accepted solutions Sep 22, 2018
356A-KnightTournament.cpp
362A-TwoSemiknightsMeet.cpp
362B-PetyaandStaircases.cpp
362C-InsertionSort.cpp
363B-Fence.cpp
363D-RentingBikes.cpp
364A-Matrix.cpp
367A-SerejaandAlgorithm.cpp
367B-SerejaansAnagrams.cpp
367C-SerejaandtheArrangementofNumbers.cpp
368C-SerejaandAlgorithm.cpp
368D-SerejaansAnagrams.cpp
368E-SerejaandtheArrangementofNumbers.cpp
369A-ValeraandPlates.cpp
369B-ValeraandContest.cpp
369C-ValeraandElections.cpp
369E-ValeraandQueries.cpp
372A-CountingKangaroosisFun.cpp
374B-InnaandNine.cpp
374C-InnaandDima.cpp
376A-Lever.cpp
376B-I.O.U..cpp
376C-DivisiblebySeven.cpp
377A-Maze.cpp
378A-PlayingwithDice.cpp
378B-Semifinals.cpp
378C-Maze.cpp
379A-NewYearCandles.cpp
379B-NewYearPresent.cpp
379C-NewYearRatingsChange.cpp
379D-NewYearLetter.cpp
380A-SerejaandPrefixes.cpp
382A-KseniaandPanScales.cpp
382C-ArithmeticProgression.cpp
382D-KseniaandPawns.cpp Add accepted solutions Sep 22, 2018
383A-Milkingcows.cpp
383C-Propagatingtree.cpp
384C-Milkingcows.cpp
384E-Propagatingtree.cpp
385A-BearandRaspberry.cpp
385B-BearandStrings.cpp
385C-BearandPrimeNumbers.cpp
385D-BearandFloodlight.cpp
387A-GeorgeandSleep.cpp
387B-GeorgeandRound.cpp
388A-FoxandBoxAccumulation.cpp
388B-FoxandMinimalpath.cpp
388C-FoxandCardGame.cpp
389C-FoxandBoxAccumulation.cpp
389D-FoxandMinimalpath.cpp
389E-FoxandCardGame.cpp
390A-InnaandAlarmClock.cpp
39H-MultiplicationTable.pas
403A-SearchingforGraph.cpp
403B-UpgradingArray.cpp
404D-Minesweeper1D.cpp
406A-UnusualProduct.cpp
406B-ToySum.cpp
41A-Translation.cpp
41B-MartianDollar.cpp
41C-Emailaddress.cpp
425A-SerejaandSwaps.cpp
425D-SerejaandSquares.cpp
429A-Xor-tree.cpp
429B-Workingout.cpp
436A-FeedwithCandy.cpp
436B-OmNomandSpiders.cpp
442B-AndreyandProblem.cpp
45C-DancingLessons.cpp
472D-DesignTutorial:InversetheProblem.cpp
48E-IvantheFoolVSGorynychtheDragon.cpp
492C-VanyaandExams.cpp
494A-Treasure.cpp
4A-Watermelon.pas
50A-Dominopiling.cpp
53E-DeadEnds.cpp
540D-BadLuckIsland.cpp
547D-MikeandFish.cpp
54A-Presents.cpp
54B-CuttingJigsawPuzzle.cpp
54C-FirstDigitLaw.cpp
550E-BracketsinImplications.cpp
552C-VanyaandScales.cpp
55A-Fleatravel.cpp
55B-Smallestnumber.cpp
56A-Bar.pas
584A-OlesyaandRodion.cpp
584B-KolyaandTanya.cpp
584C-MarinaandVasya.cpp
584D-DimaandLisa.cpp
584E-AntonandIra.cpp
588A-DuffandMeat.cpp
588B-DuffinLove.cpp
58B-Coins.pas
593A-2Char.cpp
596A-WilburandSwimmingPool.cpp
596B-WilburandArray.cpp
596C-WilburandPoints.cpp
597A-Divisibility.cpp
597B-Restaurant.cpp
597C-Subsequences.cpp
598A-TrickySum.cpp
598B-QueriesonaString.cpp
598C-Nearestvectors.cpp
598D-IgorIntheMuseum.cpp
598E-ChocolateBar.cpp
599A-PatrickandShopping.cpp
599C-DayattheBeach.cpp
59A-Word.pas
602A-TwoBases.cpp
602B-ApproximatingaConstantRange.cpp
603A-AlternativeThinking.cpp
603B-MoodularArithmetic.cpp
605A-SortingRailwayCars.cpp
609A-USBFlashDrives.cpp
609B-TheBestGift.cpp
609C-LoadBalancing.cpp
609D-Gadgetsfordollarsandpounds.cpp
609E-Minimumspanningtreeforeachedge.cpp
614B-Gena'sCode.cpp
615A-Bulbs.cpp
615B-LongtailHedgehog.cpp Add accepted solutions Sep 22, 2018
615D-Multipliers.cpp
616A-ComparingTwoLongIntegers.cpp Add accepted solutions Sep 22, 2018
616B-DinnerwithEmma.cpp
618A-SlimeCombining.cpp
618B-GuessthePermutation.cpp
618C-Constellation.cpp
61A-Ultra-FastMathematician.cpp
620A-ProfessorGukiZ'sRobot.cpp
620B-GrandfatherDovlet’scalculator.cpp
620C-PearlsinaRow.cpp
626A-RobotSequence.cpp
626B-Cards.cpp
626C-BlockTowers.cpp
644A-ParliamentofBerland.cpp
645A-AmityAssessment.cpp
645B-MischievousMessMakers.cpp
645C-EnduringExodus.cpp
645D-RobotRappingResultsReport.cpp
652B-z-sort.cpp
652C-FoePairs.cpp
653A-BearandThreeBalls.cpp
653B-BearandCompressing.cpp
653D-DeliveryBears.cpp
659A-RoundHouse.cpp
659B-QualifyingContest.cpp
659C-TanyaandToys.cpp
659D-BicycleRace.cpp
659E-NewReform.cpp
663A-Rebus.cpp
670A-Holidays.cpp
670B-GameofRobots.cpp
670E-CorrectBracketSequenceEditor.cpp
673A-BearandGame.cpp
673B-ProblemsforRound.cpp
677A-VanyaandFence.cpp
677B-VanyaandFoodProcessor.cpp
677C-VanyaandLabel.cpp
680A-BearandFiveCards.cpp
680B-BearandFindingCriminals.cpp
680C-BearandPrime100.cpp
681A-AGoodContest.cpp
681B-EconomyGame.cpp
681C-HeapOperations.cpp
682A-AlyonaandNumbers.cpp
682B-AlyonaandMex.cpp
682C-AlyonaandtheTree.cpp
682E-AlyonaandTriangles.cpp
689A-MikeandCellphone.cpp
689B-MikeandShortcuts.cpp
689C-MikeandChocolateThieves.cpp
689D-FriendsandSubsequences.cpp
690C2-BrainNetwork(medium).cpp
690D2-TheWall(medium).cpp
698A-Vacations.cpp
701A-Cards.cpp
701B-CellsNotUnderAttack.cpp
701C-TheyAreEverywhere.cpp
701E-ConnectingUniversities.cpp
703A-MishkaandGame.cpp
706A-Beru-taxi.cpp
706B-Interestingdrink.cpp Add accepted solutions Sep 22, 2018
707A-Brain'sPhotos.cpp
707C-PythagoreanTriples.cpp
712A-MemoryandCrow.cpp
719A-VityaintheCountryside.cpp
719B-AnatolyandCockroaches.cpp
719C-EfimandStrangeGrade.cpp
71A-WayTooLongWords.pas
723A-TheNewYear:MeetingFriends.cpp
725A-JumpingBall.cpp
725C-HiddenWord.cpp
730B-MinimumandMaximum.cpp Add accepted solutions Sep 22, 2018
730G-CarRepairShop.cpp
730H-DeleteThem.cpp
734A-AntonandDanik.cpp
734B-AntonandDigits.cpp
734E-AntonandTree.cpp
740A-Alyonaandcopybooks.cpp
740B-Alyonaandflowers.cpp
740D-Alyonaandatree.cpp
742A-Arpa’shardexamandMehrdad’snaivecheat.cpp
742B-Arpa’sobviousproblemandMehrdad’sterriblesolution.cpp
742C-Arpa'sloudOwfandMehrdad'sevilplan.cpp
742D-Arpa'sweakamphitheaterandMehrdad'svaluableHoses.cpp
746A-Compote.cpp
746B-Decoding.cpp
746D-GreenandBlackTea.cpp
747A-DisplaySize.cpp
747B-Mammoth'sGenomeDecoding.cpp
822A-I'mboredwithlife.cpp
822B-Crosswordsolving.cpp
822C-Hacker,packyourbags!.cpp
822D-MyprettygirlNoora.cpp
82A-DoubleCola.cpp
846C-FourSegments.cpp Add accepted solutions Sep 22, 2018
85E-GuardTowers.cpp
900B-PositioninFraction.cpp
900C-RemoveExtraOne.cpp
903A-HungryStudentProblem.cpp
903B-TheModcrab.cpp
952A-QuirkyQuantifiers.cpp
952B-AMapoftheCat.cpp
952C-RavioliSort.cpp
959A-MahmoudandEhabandtheeven-oddgame.cpp
959B-MahmoudandEhabandthemessage.cpp Add accepted solutions Sep 22, 2018
959D-MahmoudandEhabandanotherarrayconstructiontask.cpp
959E-MahmoudandEhabandthexor-MST.cpp
965A-PaperAirplanes.cpp
96A-Football.cpp
977A-WrongSubtraction.cpp
977B-Two-gram.cpp
977C-LessorEqual.cpp
977D-Dividebythree,multiplybytwo.cpp
977E-CyclicComponents.cpp
977F-ConsecutiveSubsequence.cpp
978A-RemoveDuplicates.cpp
978B-FileName.cpp
978C-Letters.cpp Add accepted solutions Sep 22, 2018
978D-AlmostArithmeticProgression.cpp
978E-BusVideoSystem.cpp
978F-Mentors.cpp
978G-Petya'sExams.cpp
982A-Row.cpp
982B-BusofCharacters.cpp
991A-Ifatfirstyoudon'tsucceed....cpp
991B-GettinganA.cpp
991C-Candies.cpp
996A-HittheLottery.cpp
996B-WorldCup.cpp
996D-SuitandTie.cpp
998A-Balloons.cpp
998B-Cutting.cpp
README.md

README.md

Codeforces Accepted Solutions

My accepted solutions in Codeforces Online Judge (https://codeforces.com)

My source codes are programmed with C++, C# and Pascal. Some IOI and ACM-ICPC related topics are used for implementing the algorithms which have used in the source codes.

You can’t perform that action at this time.