Desafios de Programação

Aprimore sua habilidade de resolver problemas com desafios neutros de linguagem que você pode resolver em Python, C++ ou C#. Cada envio é testado automaticamente e revisado por IA.

  • Python · C++ · C#
  • Testes automáticos
  • Revisão de código por IA
  • Soluções da comunidade
Trilha de aprendizado
150
Desafios
2
Soluções compartilhadas
3
Linguagens

Todos os desafios

Busque por tema, linguagem ou dificuldade.

150 desafios
Difícil

Minimum Window Substring

Find the shortest piece of text containing all required characters.

AdvancedCompetitive-programmingSliding-windowStrings
Ainda sem soluções
Fácil

Above-Average Values

Keep the values that are greater than the average.

ArraysBeginnerLearning-path
Ainda sem soluções
Fácil

Largest of Three

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

BeginnerConditionsLearning-path
Ainda sem soluções
Médio

Elevar uma Fração a uma Potência Real

Eleve uma fração positiva a um expoente real.

Fractionsmath
Ainda sem soluções
Médio

Island Perimeter

Measure the coastline of land cells in a grid.

AdvancedGridsHackathon
Ainda sem soluções
Médio

Minesweeper Neighbor Counts

Annotate a rectangular board.

ArraysGrids
Ainda sem soluções
Fácil

Swap First and Last

Exchange the first and last items of a list.

ArraysBeginnerLearning-path
Ainda sem soluções
Fácil

Sum of Odd Numbers

Add every odd number up to a limit.

BeginnerLearning-pathLoops
Ainda sem soluções
Médio

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

BeginnerLearning-pathRecursionStrings
Ainda sem soluções
Fácil

Total do Carrinho com Desconto

Some os valores de um carrinho de compras e aplique um desconto acima de um limite.

ArraysBeginnerFunctionsLearning-path
Ainda sem soluções
Difícil

Hotel Room Allocation

Assign arriving groups in order.

Segment-treesSimulation
Ainda sem soluções
Médio

Recursive Power

Compute a power recursively by halving the exponent.

BeginnerLearning-pathRecursion
Ainda sem soluções
Fácil

Body Mass Index

Compute BMI from weight and height.

BeginnerLearning-pathVariables
Ainda sem soluções
Médio

Elevar um Número a uma Potência Fracionária

Eleve um número real positivo a um expoente racional.

Fractionsmath
Ainda sem soluções
Fácil

Ticket Price by Age

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

BeginnerConditionsLearning-path
Ainda sem soluções
Fácil

Countdown to Liftoff

Count down from a number and end with Liftoff!

BeginnerLearning-pathLoops
Ainda sem soluções
Fácil

Count Positive Numbers

Count the values greater than zero in a list.

ArraysBeginnerLearning-path
Ainda sem soluções
Fácil

Triangle Classification

Classify three side lengths as invalid, equilateral, isosceles, or scalene.

ConditionsGeometry
Ainda sem soluções