CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Palpal Strings1776CodeChef
- Paprika and Permutation1300Codeforcesbinary searchgreedymathsortings
- Parity Shuffle Sorting1300Codeforcesconstructive algorithmssortings
- Particles1300Codeforcesdpgreedyimplementationmath
- Party1300Codeforcesbrute forcegraphs
- Pasha Maximizes1400Codeforcesgreedy
- Pasha and String1400Codeforcesconstructive algorithmsgreedymathstrings
- Pashmak and Flowers1300Codeforcescombinatoricsimplementationsortings
- Password Cracking1400Codeforcesconstructive algorithmsinteractivestrings
- Penalty Shoot-Out II1735CodeChef
- Penalty Shoot-out1609CodeChef
- Penchick and BBQ Buns1300Codeforcesconstructive algorithmsmathnumber theory
- Perfect Permutation1696CodeChef
- Perform the Combo1300Codeforcesbrute force
- Permutation1400Codeforcesconstructive algorithmsdpmath
- Permutation Counting1400Codeforcesbinary searchgreedyimplementationmath
- Permutation Game1300Codeforcesbrute forcedfs and similargamesgraphs
- Permutation Mod K1760CodeChef
- Permutation Operations1300Codeforcesconstructive algorithmsgreedyimplementationmath
- Permutation Partitions1300Codeforcescombinatoricsgreedymath
- Permutation and Palindrome1651CodeChef
- Permutations1400Codeforcesbrute force
- Permutations1400Codeforcesbrute forcecombinatoricsimplementation
- Petya and Catacombs1300Codeforcesdsugreedyimplementationtrees
- Petya and Inequiations1400Codeforcesgreedy
- Petya and Java1300Codeforcesimplementationstrings
- Phase Shift1400Codeforcesdfs and similardsugraphsgreedy
- Phoenix and Beauty1400Codeforcesconstructive algorithmsdata structuresgreedysortings
- Phoenix and Towers1400Codeforcesconstructive algorithmsdata structuresgreedy
- Phone Numbers1400Codeforcesimplementationstrings
- Photographer1400Codeforcesgreedysortings
- Photoshoot for Gorillas1400Codeforcescombinatoricsdata structuresgreedymath
- Physics Practical1400Codeforcesbinary searchdpsortingstwo pointers
- Place for a Selfie1400Codeforcesbinary searchdata structuresgeometrymath
- Plane of Tanks: Pro1400Codeforcesimplementation
- Planet Lapituletti1300Codeforcesbrute forceimplementation
- Plant1300Codeforcesmath
- Planting Roses1750CodeChef
- Planting Trees1656CodeChef
- Playing Cubes1300Codeforcesgamesgreedyimplementation
- Plug-in1400Codeforcesimplementation
- Plus from Picture1300Codeforcesdfs and similarimplementationstrings
- Plus-Minus Split1684CodeChef
- Pluses and Minuses1300Codeforcesmath
- Pocket Book1400Codeforcescombinatorics
- Pogo Stick Competition1685CodeChef
- Point on Spiral1400Codeforcesbrute forcegeometryimplementation
- Points on Line1300Codeforcesbinary searchcombinatoricstwo pointers
- Pokemon Battles1739CodeChef
- Pokémon Army (easy version)1300Codeforcesconstructive algorithmsdpgreedy
- PolandBall and Forest1300Codeforcesdfs and similardsugraphsinteractive
- Polo the Penguin and Matrix1400Codeforcesbrute forcedpimplementationsortings
- Polo the Penguin and Strings1300Codeforcesgreedy
- Polo the Penguin and the Numbers1718CodeChef
- Polycarp and the Language of Gods1400Codeforces*specialimplementationtwo pointers
- Polygon1300Codeforcesdpgraphsimplementationshortest paths
- Portal1300Codeforcesgreedysortings
- Position in Fraction1300Codeforcesmathnumber theory
- Positive array1620CodeChef
- Positive-Negative1770CodeChef