CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Pathless1100Codeforcesconstructive algorithms
- Pattern1200Codeforcesimplementationstrings
- PawnChess1200Codeforcesimplementation
- Paying up1539CodeChef
- Penalty1200Codeforcesbitmasksbrute forcedpgreedy
- Pentagonal numbers1100Codeforces*specialimplementation
- Perfect Number1100Codeforcesbinary searchbrute forcedpimplementation
- Perfect Square1200Codeforcesbrute forceimplementation
- Perfect Team1200Codeforcesbinary searchmath
- Perfecto1100Codeforcesbrute forceconstructive algorithmsgreedymath
- Periodic Palindrome Construction1567CodeChef
- Permutation Subsequence1519CodeChef
- Permutation Transformation1200Codeforcesdfs and similardivide and conquerimplementation
- Permutation Xority1437CodeChef
- Personalized Cup1200Codeforces
- Petr and a Combination Lock1200Codeforcesbitmasksbrute forcedp
- Petya and Countryside1100Codeforcesbrute forceimplementation
- Petya and Square1200Codeforcesimplementationmath
- Petya and Staircases1100Codeforcesimplementationsortings
- Phantasialand1556CodeChef
- Phone Numbers1200Codeforcesimplementationstrings
- Phone numbers1100Codeforcesimplementation
- Photo to Remember1100Codeforces*specialdata structuresdpimplementation
- Pile Shuffling1100Codeforcesgreedymath
- Ping-pong1100Codeforcesconstructive algorithmsgamesmath
- Pizza Separation1200Codeforcesbrute forceimplementation
- Place of the Olympiad1200Codeforcesbinary searchgreedymath
- Plagiarism1524CodeChef
- Planning The Expedition1200Codeforcesbinary searchbrute forceimplementation
- Playing in a Casino1200Codeforcesmathsortings
- Playing with GCD1200Codeforcesmathnumber theory
- Playing with Paper1100Codeforcesimplementationmath
- Pleasant Pairs1200Codeforcesbrute forceimplementationmathnumber theory
- Plus Minus Permutation1200Codeforcesmath
- Plusle and Minun on Array1412CodeChef
- Points on the line1200Codeforcesbrute forcegreedysortings
- Poisoned Dagger1200Codeforcesbinary search
- PolandBall and Game1100Codeforcesbinary searchdata structuresgamesgreedy
- Polo the Penguin and Segments 1100Codeforcesbrute forceimplementation
- Polycarp's Practice1200Codeforcesgreedyimplementationsortings
- Polygon Relationship1460CodeChef
- Positive Prefixes1498CodeChef
- Positive or Negative Subarrays1526CodeChef
- Possible or Not1578CodeChef
- Postcard1200Codeforcesconstructive algorithmsimplementation
- Potions Homework1200Codeforcesimplementationsortings
- Pouring Rain1100Codeforcesgeometrymath
- Powering the Hero (hard version)1100Codeforcesdata structuresgreedy
- Predictopus1510CodeChef
- Prefix Ones1455CodeChef
- Prefix Permutation1532CodeChef
- Prefix Sum Addicts1200Codeforcesconstructive algorithmsgreedymathsortings
- Prefix Sum Primes1200Codeforcesconstructive algorithmsgreedymathnumber theory
- Preparation for International Women's Day1200Codeforcesmathnumber theory
- President's Office1100Codeforcesimplementation
- Prime Sum1462CodeChef
- Prime Xor1519CodeChef
- Prime in a binary string1473CodeChef
- Princesses and Princes1200Codeforcesbrute forcegraphsgreedy
- Print Check1200Codeforcesconstructive algorithmsimplementation