Các Thử thách Lập trình

Rèn luyện kỹ năng giải quyết vấn đề với các thử thách không phụ thuộc ngôn ngữ, có thể giải bằng Python, C++ hoặc C#. Mỗi lần nộp bài đều được kiểm tra tự động và đánh giá bởi AI.

  • Python · C++ · C#
  • Kiểm tra tự động
  • Đánh giá mã bằng AI
  • Giải pháp cộng đồng
Lộ trình học
150
Thử thách
2
Giải pháp đã chia sẻ
3
Ngôn ngữ

Tất cả thử thách

Tìm theo chủ đề, ngôn ngữ hoặc độ khó.

84 thử thách
Dễ

Count Pairs With a Sum

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

ArraysBeginnerLearning-pathNested-loops
Chưa có lời giải
Dễ

Distance Between Points

Compute the straight-line distance between two points.

BeginnerFunctionsLearning-pathmath
Chưa có lời giải
Dễ

Tam giác số

Xây dựng một tam giác các số tăng dần.

BeginnerLearning-pathNested-loopsPatterns
Chưa có lời giải
Dễ

Multiplication Grid

Build a full multiplication table.

BeginnerLearning-pathNested-loops
Chưa có lời giải
Dễ

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

BeginnerLearning-pathNested-loopsPatterns
Chưa có lời giải
Trung bình

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
Chưa có lời giải
Dễ

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

BeginnerLearning-pathVariables
Chưa có lời giải
Dễ

Hollow Square

Draw the outline of a square with * characters.

BeginnerLearning-pathNested-loopsPatterns
Chưa có lời giải
Dễ

Trung Bình Của Ba Số

Tính trung bình cộng của ba số nguyên.

BeginnerLearning-pathVariables
Dễ

Chia Đôi Đến Khi Còn Một

Đếm số lần chia đôi để đưa một số về 1.

BeginnerLearning-pathLoops
Chưa có lời giải
Dễ

Loại Bỏ Phần Tử Trùng Lặp

Chỉ giữ lại lần xuất hiện đầu tiên của mỗi giá trị.

ArraysBeginnerSetsStudent-beginner
Chưa có lời giải
Dễ

Every Other Character

Keep the characters at even positions.

BeginnerLearning-pathStrings
Chưa có lời giải
Trung bình

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
Chưa có lời giải
Dễ

Giá trị số La Mã

Chuyển đổi số La Mã thành số nguyên.

BeginnerLookup-tablesStringsStudent-beginner
Chưa có lời giải
Dễ

Days in a Month

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

BeginnerConditionsFunctionsLearning-path
Chưa có lời giải
Dễ

Min and Max Together

Find the smallest and largest value in one pass.

ArraysBeginnerFunctionsLearning-path
Chưa có lời giải
Dễ

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

BeginnerLearning-pathVariables
Dễ

First Negative Index

Find where the first negative number appears.

ArraysBeginnerLearning-path
Chưa có lời giải