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é.

84 défis
Facile

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

ArraysBeginnerLearning-pathNested-loops
Aucune solution pour l’instant
Facile

Number Triangle

Build a triangle of increasing numbers.

BeginnerLearning-pathNested-loopsPatterns
Aucune solution pour l’instant
Facile

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

BeginnerLearning-pathNested-loopsPatterns
Aucune solution pour l’instant
Moyen

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
Aucune solution pour l’instant
Facile

Distance entre deux points

Calculez la distance en ligne droite entre deux points.

BeginnerFunctionsLearning-pathmath
Aucune solution pour l’instant
Facile

Multiplication Grid

Build a full multiplication table.

BeginnerLearning-pathNested-loops
Aucune solution pour l’instant
Facile

Hollow Square

Draw the outline of a square with * characters.

BeginnerLearning-pathNested-loopsPatterns
Aucune solution pour l’instant
Facile

Celsius vers Fahrenheit

Convertir une température de degrés Celsius en degrés Fahrenheit.

BeginnerLearning-pathVariables
Aucune solution pour l’instant
Facile

Halve Until One

Count how many halvings bring a number down to 1.

BeginnerLearning-pathLoops
Aucune solution pour l’instant
Facile

Average of Three

Average three whole numbers.

BeginnerLearning-pathVariables
Facile

Valeur d’un chiffre romain

Convertir un chiffre romain en nombre.

BeginnerLookup-tablesStringsStudent-beginner
Aucune solution pour l’instant
Moyen

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
Aucune solution pour l’instant
Facile

Every Other Character

Keep the characters at even positions.

BeginnerLearning-pathStrings
Aucune solution pour l’instant
Facile

Min and Max Together

Find the smallest and largest value in one pass.

ArraysBeginnerFunctionsLearning-path
Aucune solution pour l’instant
Facile

Days in a Month

Return how many days a month has, including leap years.

BeginnerConditionsFunctionsLearning-path
Aucune solution pour l’instant
Facile

Supprimer les doublons

Ne conserver que la première occurrence de chaque valeur.

ArraysBeginnerSetsStudent-beginner
Aucune solution pour l’instant
Facile

First Negative Index

Find where the first negative number appears.

ArraysBeginnerLearning-path
Aucune solution pour l’instant
Facile

Classer un nombre selon ses diviseurs

Classifiez un entier positif comme parfait, abondant ou déficient.

BeginnerNumber-theory
Aucune solution pour l’instant