Basecamp
    Home
    Problems
    Contests
    Courses
    Rating
    Posts
    Store
    Discord
medv
Sign in
Михаил Медведев
medv
Azerbaijan
Azerbaijan
Joined Apr 5, 2008
Achievements (5)
Problem Solver 5Problem Solver 4Problem Solver 3Problem Solver 2Problem Solver
OverviewAchievementsPosts

preview
medv
•Announcement•8 days ago
Educational Round #2

We are excited to announce Educational Round #2 during October 6 - 12. This round is based on the problems from the archieve. This is not a rated contest but it is a good opportunity to practice tasks of varying difficulty.

6
Reply
Continue reading
preview
medv
•Announcement•20 days ago
Educational Round #1

We are excited to announce first Education round starting on Monday , 21th. This round is based on the problems from the archieve. This is not a rated contest but it is a good opportunity to practice tasks of varying difficulty.

8
Reply
Continue reading
preview
medv
•Tutorial•14 days ago
Educational Round #1 — Editorial

Even in ancient times, the Egyptians knew that a triangle with sides 3, 4, and 5 is a right triangle, with its right angle being the largest one. Determine whether other triangles also have this property.

7
Reply
Continue reading
preview
medv
•Article•3 months ago
Trees

Trees are one of the key data structures in algorithms and appear in a wide range of problems.

15
5 replies
Continue reading
preview
medv
•Article•11 months ago
Two pointers technique

The Two Pointers technique is a strategy commonly used in computer science and programming for solving problems involving arrays or sequences. It involves using two pointers that traverse the array or sequence from different positions, often moving in opposite directions or at different speeds. This technique is particularly useful for solving problems related to searching, optimization, or manipulation of arrays efficiently.

18
5 replies
Continue reading
preview
medv
•Article•1 year ago
Exploring recursion

The objective of this lesson is to introduce students to the concept of recursion, understanding its fundamentals, and mastering its implementation in programming. By the end of this lesson, students should be able to:

34
Reply
Continue reading
preview
medv
•Article•1 year ago
Binomial coefficient

A combination of n elements taken k at a time is a set of k elements chosen from the given n elements. In this context, sets that differ only in the order of the elements (but not in their composition) are considered identical. It is precisely this property of combinations that distinguishes them from permutations.

36
Reply
Continue reading
preview
medv
•Article•16 years ago
Алгоритм Дейкстры и его реализация средствами STLSTL, Алгоритм Дейкстры, Графы

Пусть есть страна G, в которой есть множество городов (обозначим это множество как V), и множество дорог, соединяющих пары городов (обозначим их как E). Не факт, что каждая пара городов соединена дорогой. Иногда, чтобы добраться из одного города в другой, следует посетить несколько транзитных городов. У дорог есть длина. В стране G есть город-столица s. Необходимо найти кратчайшие пути из столицы до всех остальных городов.

12
Reply
Continue reading
preview
medv
•Article•16 years ago
Дерево Фенвіка

Дерево Фенвіка – це структура даних на масиві довжини n, яка дозволяє виконувати наступні операції:

19
Reply
Continue reading