Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tasks/easy/arrays/matrix_sums_equality.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ tags = ["math", "arrays", "matrix"]
time_to_solve_sec = 250

description_en = """
Given a $3 \times 3$ matrix of integers, determine if the sum of elements in every row and every column is the same. Return `true` if all sums are equal, otherwise return `false`.
Given a $3 \\times 3$ matrix of integers, determine if the sum of elements in every row and every column is the same. Return `true` if all sums are equal, otherwise return `false`.
"""

description_ru = """
Дана матрица $3 \times 3$, состоящая из целых чисел. Проверьте, равны ли суммы чисел во всех строках и всех столбцах. Верните `true`, если все суммы равны, иначе — `false`.
Дана матрица $3 \\times 3$, состоящая из целых чисел. Проверьте, равны ли суммы чисел во всех строках и всех столбцах. Верните `true`, если все суммы равны, иначе — `false`.
"""

limits = """
- $\text{len}(m) = 3$
- $\text{len}(m[i]) = 3$
- $\\text{len}(m) = 3$
- $\\text{len}(m[i]) = 3$
- $-10^6 \\leq m_{i,j} \\leq 10^6$
"""

Expand Down
2 changes: 1 addition & 1 deletion tasks/easy/greedy/maximum_cars_to_finish.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ description_ru = """

limits = """
- $1 \\leq x \\leq 10^4$
- $1 \\leq \text{len}(a) \\leq 10^5$
- $1 \\leq \\text{len}(a) \\leq 10^5$
- $0 \\leq a_i \\leq 10^4$
"""

Expand Down
6 changes: 3 additions & 3 deletions tasks/hard/bitmasks/min_team_combinations.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ description_ru = """
"""

limits = """
- $1 \\leq \text{len}(\text{people}) \\leq 15$
- $0 \\leq \text{people}[i] \\leq 65535$
- $1 \\leq \text{target\\_skills} \\leq 65535$
- $1 \\leq \\text{len}(\\text{people}) \\leq 15$
- $0 \\leq \\text{people}[i] \\leq 65535$
- $1 \\leq \\text{target\\_skills} \\leq 65535$
"""

solution = """
Expand Down
6 changes: 3 additions & 3 deletions tasks/hard/graphs/is_bipartite_graph.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ description_ru = """
"""

limits = """
- $1 \\leq \text{len}(\text{graph}) \\leq 100$
- $0 \\leq \text{graph}[i][j] < \text{len}(\text{graph})$
- $i \neq \text{graph}[i][j]$
- $1 \\leq \\text{len}(\\text{graph}) \\leq 100$
- $0 \\leq \\text{graph}[i][j] < \\text{len}(\\text{graph})$
- $i \\neq \\text{graph}[i][j]$
"""

solution = """
Expand Down
4 changes: 2 additions & 2 deletions tasks/hard/graphs/minimum_tree_cover.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ description_ru = """

limits = """
- $1 \\leq n \\leq 10^5$
- $\text{len}(\text{edges}) = n - 1$
- $0 \\leq \text{edges}[i][0], \text{edges}[i][1] < n$
- $\\text{len}(\\text{edges}) = n - 1$
- $0 \\leq \\text{edges}[i][0], \\text{edges}[i][1] < n$
"""

solution = """
Expand Down
4 changes: 2 additions & 2 deletions tasks/medium/games/secret_function.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Look at the examples, there is a mathematical pattern.

The first number is in range $[1, 7]$, the second in $[0, 8]$.

The secret formula is: $a^b - a \times b$
The secret formula is: $a^b - a \\times b$
"""

description_ru = """
Expand All @@ -20,7 +20,7 @@ description_ru = """

Первое число находится в диапазоне $[1, 7]$, второе в диапазоне $[0, 8]$.

Секретная формула: $a^b - a \times b$
Секретная формула: $a^b - a \\times b$
"""

limits = """
Expand Down
8 changes: 4 additions & 4 deletions tasks/medium/graphs/lowest_common_ancestor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ description_ru = """
"""

limits = """
- $1 \\leq \text{len}(\text{parent}) \\leq 1000$
- $-1 \\leq \text{parent}[i] < \text{len}(\text{parent})$
- $0 \\leq u < \text{len}(\text{parent})$
- $0 \\leq v < \text{len}(\text{parent})$
- $1 \\leq \\text{len}(\\text{parent}) \\leq 1000$
- $-1 \\leq \\text{parent}[i] < \\text{len}(\\text{parent})$
- $0 \\leq u < \\text{len}(\\text{parent})$
- $0 \\leq v < \\text{len}(\\text{parent})$
"""

solution = """
Expand Down
Loading