Défis de programmation

Renforcez vos compétences en résolution de problèmes avec des défis neutres en langage, à résoudre en Python, C++ ou C#. Chaque soumission est testée automatiquement et relue par l'IA.

  • Python · C++ · C#
  • Tests automatisés
  • Relecture IA
  • Solutions de la communauté
Parcours d'apprentissage
150
Défis
2
Solutions partagées
3
Langages

Tous les défis

Recherchez par sujet, langage ou difficulté.

150 défis
Facile

Largest of Three

Pick the largest of three numbers without a built-in max.

BeginnerConditionsLearning-path
Aucune solution pour l’instant
Facile

Swap First and Last

Exchange the first and last items of a list.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Difficile

Composantes fortement connexes

Comptez les groupes de nœuds pouvant tous s’atteindre mutuellement.

AdvancedCompetitive-programmingGraphs
Aucune solution pour l’instant
Facile

Cart Total With Discount

Total a shopping cart and apply a discount above a threshold.

ArraysBeginnerFunctionsLearning-path
Aucune solution pour l’instant
Facile

Sum of Odd Numbers

Add every odd number up to a limit.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Word Tile Score

Add the tile values for every letter in a word.

Lookup-tablesStrings
Aucune solution pour l’instant
Facile

Power by Repeated Multiplication

Raise a number to a power with a loop.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Classification de triangle

Classifiez trois longueurs de côtés comme invalide, équilatéral, isocèle ou scalène.

ConditionsGeometry
Aucune solution pour l’instant
Moyen

Recursive Power

Compute a power recursively by halving the exponent.

BeginnerLearning-pathRecursion
Aucune solution pour l’instant
Facile

Body Mass Index

Compute BMI from weight and height.

BeginnerLearning-pathVariables
Aucune solution pour l’instant
Facile

Ticket Price by Age

Choose a cinema ticket price from the visitor's age.

BeginnerConditionsLearning-path
Aucune solution pour l’instant
Moyen

Island Perimeter

Measure the coastline of land cells in a grid.

AdvancedGridsHackathon
Aucune solution pour l’instant
Facile

Count Positive Numbers

Count the values greater than zero in a list.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Moyen

Robot Command Simulator

Move a robot using L (turn left 90 degrees), R (turn right 90 degrees), and A (advance one step).

SimulationState-machines
Aucune solution pour l’instant
Facile

Suite de Collatz

Appliquez la règle : diviser par deux ou multiplier par trois et ajouter un, jusqu'à atteindre 1.

NumbersSimulation
Aucune solution pour l’instant
Facile

Count Uppercase Letters

Count the capital letters in a text.

BeginnerLearning-pathStrings
Aucune solution pour l’instant
Facile

Compte à rebours jusqu'au décollage

Comptez à rebours à partir d'un nombre et terminez par Liftoff!

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Moyen

Élever une Fraction à une Puissance Réelle

Élevez une fraction positive à un exposant réel.

Fractionsmath
Aucune solution pour l’instant