mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-08 21:46:06 +00:00
Add ru version (#1865)
* Add Russian docs site baseline * Add Russian localized codebase * Polish Russian code wording * Update ru code translation. * Update code translation and chapter covers. * Fix pythontutor extraction. * Add README and landing page. * placeholder of profiles * Use figures of English version * Remove chapter paperbook
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
add_executable(preorder_traversal_i_compact preorder_traversal_i_compact.cpp)
|
||||
add_executable(preorder_traversal_ii_compact preorder_traversal_ii_compact.cpp)
|
||||
add_executable(preorder_traversal_iii_compact preorder_traversal_iii_compact.cpp)
|
||||
add_executable(preorder_traversal_iii_template preorder_traversal_iii_template.cpp)
|
||||
add_executable(permutations_i permutations_i.cpp)
|
||||
add_executable(permutations_ii permutations_ii.cpp)
|
||||
add_executable(n_queens n_queens.cpp)
|
||||
add_executable(subset_sum_i_naive subset_sum_i_naive.cpp)
|
||||
add_executable(subset_sum_i subset_sum_i.cpp)
|
||||
add_executable(subset_sum_ii subset_sum_ii.cpp)
|
||||
@@ -0,0 +1,65 @@
|
||||
/**
|
||||
* File: n_queens.cpp
|
||||
* Created Time: 2023-05-04
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Алгоритм бэктрекинга: n ферзей */
|
||||
void backtrack(int row, int n, vector<vector<string>> &state, vector<vector<vector<string>>> &res, vector<bool> &cols,
|
||||
vector<bool> &diags1, vector<bool> &diags2) {
|
||||
// Когда все строки уже обработаны, записать решение
|
||||
if (row == n) {
|
||||
res.push_back(state);
|
||||
return;
|
||||
}
|
||||
// Обойти все столбцы
|
||||
for (int col = 0; col < n; col++) {
|
||||
// Вычислить главную и побочную диагонали, соответствующие этой клетке
|
||||
int diag1 = row - col + n - 1;
|
||||
int diag2 = row + col;
|
||||
// Отсечение: в столбце, главной диагонали и побочной диагонали этой клетки не должно быть ферзей
|
||||
if (!cols[col] && !diags1[diag1] && !diags2[diag2]) {
|
||||
// Попытка: поставить ферзя в эту клетку
|
||||
state[row][col] = "Q";
|
||||
cols[col] = diags1[diag1] = diags2[diag2] = true;
|
||||
// Перейти к размещению следующей строки
|
||||
backtrack(row + 1, n, state, res, cols, diags1, diags2);
|
||||
// Откат: восстановить эту клетку как пустую
|
||||
state[row][col] = "#";
|
||||
cols[col] = diags1[diag1] = diags2[diag2] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Решить задачу о n ферзях */
|
||||
vector<vector<vector<string>>> nQueens(int n) {
|
||||
// Инициализировать доску размера n*n, где 'Q' обозначает ферзя, а '#' — пустую клетку
|
||||
vector<vector<string>> state(n, vector<string>(n, "#"));
|
||||
vector<bool> cols(n, false); // Отмечать, есть ли ферзь в столбце
|
||||
vector<bool> diags1(2 * n - 1, false); // Отмечать наличие ферзя на главной диагонали
|
||||
vector<bool> diags2(2 * n - 1, false); // Отмечать наличие ферзя на побочной диагонали
|
||||
vector<vector<vector<string>>> res;
|
||||
|
||||
backtrack(0, n, state, res, cols, diags1, diags2);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
int n = 4;
|
||||
vector<vector<vector<string>>> res = nQueens(n);
|
||||
|
||||
cout << "Размер входной доски = " << n << endl;
|
||||
cout << "Количество способов расстановки ферзей: " << res.size() << endl;
|
||||
for (const vector<vector<string>> &state : res) {
|
||||
cout << "--------------------" << endl;
|
||||
for (const vector<string> &row : state) {
|
||||
printVector(row);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* File: permutations_i.cpp
|
||||
* Created Time: 2023-04-24
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Алгоритм бэктрекинга: все перестановки I */
|
||||
void backtrack(vector<int> &state, const vector<int> &choices, vector<bool> &selected, vector<vector<int>> &res) {
|
||||
// Когда длина состояния равна числу элементов, записать решение
|
||||
if (state.size() == choices.size()) {
|
||||
res.push_back(state);
|
||||
return;
|
||||
}
|
||||
// Перебор всех вариантов выбора
|
||||
for (int i = 0; i < choices.size(); i++) {
|
||||
int choice = choices[i];
|
||||
// Отсечение: нельзя выбирать один и тот же элемент повторно
|
||||
if (!selected[i]) {
|
||||
// Попытка: сделать выбор и обновить состояние
|
||||
selected[i] = true;
|
||||
state.push_back(choice);
|
||||
// Перейти к следующему выбору
|
||||
backtrack(state, choices, selected, res);
|
||||
// Откат: отменить выбор и восстановить предыдущее состояние
|
||||
selected[i] = false;
|
||||
state.pop_back();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Все перестановки I */
|
||||
vector<vector<int>> permutationsI(vector<int> nums) {
|
||||
vector<int> state;
|
||||
vector<bool> selected(nums.size(), false);
|
||||
vector<vector<int>> res;
|
||||
backtrack(state, nums, selected, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
vector<int> nums = {1, 2, 3};
|
||||
|
||||
vector<vector<int>> res = permutationsI(nums);
|
||||
|
||||
cout << "Входной массив nums = ";
|
||||
printVector(nums);
|
||||
cout << "Все перестановки res = ";
|
||||
printVectorMatrix(res);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* File: permutations_ii.cpp
|
||||
* Created Time: 2023-04-24
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Алгоритм бэктрекинга: все перестановки II */
|
||||
void backtrack(vector<int> &state, const vector<int> &choices, vector<bool> &selected, vector<vector<int>> &res) {
|
||||
// Когда длина состояния равна числу элементов, записать решение
|
||||
if (state.size() == choices.size()) {
|
||||
res.push_back(state);
|
||||
return;
|
||||
}
|
||||
// Перебор всех вариантов выбора
|
||||
unordered_set<int> duplicated;
|
||||
for (int i = 0; i < choices.size(); i++) {
|
||||
int choice = choices[i];
|
||||
// Отсечение: нельзя выбирать один и тот же элемент повторно и нельзя повторно выбирать равные элементы
|
||||
if (!selected[i] && duplicated.find(choice) == duplicated.end()) {
|
||||
// Попытка: сделать выбор и обновить состояние
|
||||
duplicated.emplace(choice); // Записать значения уже выбранных элементов
|
||||
selected[i] = true;
|
||||
state.push_back(choice);
|
||||
// Перейти к следующему выбору
|
||||
backtrack(state, choices, selected, res);
|
||||
// Откат: отменить выбор и восстановить предыдущее состояние
|
||||
selected[i] = false;
|
||||
state.pop_back();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Все перестановки II */
|
||||
vector<vector<int>> permutationsII(vector<int> nums) {
|
||||
vector<int> state;
|
||||
vector<bool> selected(nums.size(), false);
|
||||
vector<vector<int>> res;
|
||||
backtrack(state, nums, selected, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
vector<int> nums = {1, 1, 2};
|
||||
|
||||
vector<vector<int>> res = permutationsII(nums);
|
||||
|
||||
cout << "Входной массив nums = ";
|
||||
printVector(nums);
|
||||
cout << "Все перестановки res = ";
|
||||
printVectorMatrix(res);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* File: preorder_traversal_i_compact.cpp
|
||||
* Created Time: 2023-04-16
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
vector<TreeNode *> res;
|
||||
|
||||
/* Предварительный обход: пример 1 */
|
||||
void preOrder(TreeNode *root) {
|
||||
if (root == nullptr) {
|
||||
return;
|
||||
}
|
||||
if (root->val == 7) {
|
||||
// Записать решение
|
||||
res.push_back(root);
|
||||
}
|
||||
preOrder(root->left);
|
||||
preOrder(root->right);
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
TreeNode *root = vectorToTree(vector<int>{1, 7, 3, 4, 5, 6, 7});
|
||||
cout << "\nИнициализация двоичного дерева" << endl;
|
||||
printTree(root);
|
||||
|
||||
// Предварительный обход
|
||||
preOrder(root);
|
||||
|
||||
cout << "\nВывести все узлы со значением 7" << endl;
|
||||
vector<int> vals;
|
||||
for (TreeNode *node : res) {
|
||||
vals.push_back(node->val);
|
||||
}
|
||||
printVector(vals);
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* File: preorder_traversal_ii_compact.cpp
|
||||
* Created Time: 2023-04-16
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
vector<TreeNode *> path;
|
||||
vector<vector<TreeNode *>> res;
|
||||
|
||||
/* Предварительный обход: пример 2 */
|
||||
void preOrder(TreeNode *root) {
|
||||
if (root == nullptr) {
|
||||
return;
|
||||
}
|
||||
// Попытка
|
||||
path.push_back(root);
|
||||
if (root->val == 7) {
|
||||
// Записать решение
|
||||
res.push_back(path);
|
||||
}
|
||||
preOrder(root->left);
|
||||
preOrder(root->right);
|
||||
// Откат
|
||||
path.pop_back();
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
TreeNode *root = vectorToTree(vector<int>{1, 7, 3, 4, 5, 6, 7});
|
||||
cout << "\nИнициализация двоичного дерева" << endl;
|
||||
printTree(root);
|
||||
|
||||
// Предварительный обход
|
||||
preOrder(root);
|
||||
|
||||
cout << "\nВывести все пути от корня к узлу 7" << endl;
|
||||
for (vector<TreeNode *> &path : res) {
|
||||
vector<int> vals;
|
||||
for (TreeNode *node : path) {
|
||||
vals.push_back(node->val);
|
||||
}
|
||||
printVector(vals);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* File: preorder_traversal_iii_compact.cpp
|
||||
* Created Time: 2023-04-16
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
vector<TreeNode *> path;
|
||||
vector<vector<TreeNode *>> res;
|
||||
|
||||
/* Предварительный обход: пример 3 */
|
||||
void preOrder(TreeNode *root) {
|
||||
// Отсечение
|
||||
if (root == nullptr || root->val == 3) {
|
||||
return;
|
||||
}
|
||||
// Попытка
|
||||
path.push_back(root);
|
||||
if (root->val == 7) {
|
||||
// Записать решение
|
||||
res.push_back(path);
|
||||
}
|
||||
preOrder(root->left);
|
||||
preOrder(root->right);
|
||||
// Откат
|
||||
path.pop_back();
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
TreeNode *root = vectorToTree(vector<int>{1, 7, 3, 4, 5, 6, 7});
|
||||
cout << "\nИнициализация двоичного дерева" << endl;
|
||||
printTree(root);
|
||||
|
||||
// Предварительный обход
|
||||
preOrder(root);
|
||||
|
||||
cout << "\nВывести все пути от корня к узлу 7, не содержащие узлов со значением 3" << endl;
|
||||
for (vector<TreeNode *> &path : res) {
|
||||
vector<int> vals;
|
||||
for (TreeNode *node : path) {
|
||||
vals.push_back(node->val);
|
||||
}
|
||||
printVector(vals);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
/**
|
||||
* File: preorder_traversal_iii_template.cpp
|
||||
* Created Time: 2023-04-16
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Проверить, является ли текущее состояние решением */
|
||||
bool isSolution(vector<TreeNode *> &state) {
|
||||
return !state.empty() && state.back()->val == 7;
|
||||
}
|
||||
|
||||
/* Записать решение */
|
||||
void recordSolution(vector<TreeNode *> &state, vector<vector<TreeNode *>> &res) {
|
||||
res.push_back(state);
|
||||
}
|
||||
|
||||
/* Проверить, допустим ли этот выбор в текущем состоянии */
|
||||
bool isValid(vector<TreeNode *> &state, TreeNode *choice) {
|
||||
return choice != nullptr && choice->val != 3;
|
||||
}
|
||||
|
||||
/* Обновить состояние */
|
||||
void makeChoice(vector<TreeNode *> &state, TreeNode *choice) {
|
||||
state.push_back(choice);
|
||||
}
|
||||
|
||||
/* Восстановить состояние */
|
||||
void undoChoice(vector<TreeNode *> &state, TreeNode *choice) {
|
||||
state.pop_back();
|
||||
}
|
||||
|
||||
/* Алгоритм бэктрекинга: пример 3 */
|
||||
void backtrack(vector<TreeNode *> &state, vector<TreeNode *> &choices, vector<vector<TreeNode *>> &res) {
|
||||
// Проверить, является ли текущее состояние решением
|
||||
if (isSolution(state)) {
|
||||
// Записать решение
|
||||
recordSolution(state, res);
|
||||
}
|
||||
// Перебор всех вариантов выбора
|
||||
for (TreeNode *choice : choices) {
|
||||
// Отсечение: проверить допустимость выбора
|
||||
if (isValid(state, choice)) {
|
||||
// Попытка: сделать выбор и обновить состояние
|
||||
makeChoice(state, choice);
|
||||
// Перейти к следующему выбору
|
||||
vector<TreeNode *> nextChoices{choice->left, choice->right};
|
||||
backtrack(state, nextChoices, res);
|
||||
// Откат: отменить выбор и восстановить предыдущее состояние
|
||||
undoChoice(state, choice);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
TreeNode *root = vectorToTree(vector<int>{1, 7, 3, 4, 5, 6, 7});
|
||||
cout << "\nИнициализация двоичного дерева" << endl;
|
||||
printTree(root);
|
||||
|
||||
// Алгоритм бэктрекинга
|
||||
vector<TreeNode *> state;
|
||||
vector<TreeNode *> choices = {root};
|
||||
vector<vector<TreeNode *>> res;
|
||||
backtrack(state, choices, res);
|
||||
|
||||
cout << "\nВывести все пути от корня к узлу 7, не содержащие узлов со значением 3" << endl;
|
||||
for (vector<TreeNode *> &path : res) {
|
||||
vector<int> vals;
|
||||
for (TreeNode *node : path) {
|
||||
vals.push_back(node->val);
|
||||
}
|
||||
printVector(vals);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* File: subset_sum_i.cpp
|
||||
* Created Time: 2023-06-21
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Алгоритм бэктрекинга: сумма подмножеств I */
|
||||
void backtrack(vector<int> &state, int target, vector<int> &choices, int start, vector<vector<int>> &res) {
|
||||
// Если сумма подмножества равна target, записать решение
|
||||
if (target == 0) {
|
||||
res.push_back(state);
|
||||
return;
|
||||
}
|
||||
// Обойти все варианты выбора
|
||||
// Отсечение 2: начинать обход с start, чтобы избежать генерации повторяющихся подмножеств
|
||||
for (int i = start; i < choices.size(); i++) {
|
||||
// Отсечение 1: если сумма подмножества превышает target, немедленно завершить цикл
|
||||
// Это связано с тем, что массив уже отсортирован, следующие элементы больше, и сумма подмножества точно превысит target
|
||||
if (target - choices[i] < 0) {
|
||||
break;
|
||||
}
|
||||
// Попытка: сделать выбор и обновить target и start
|
||||
state.push_back(choices[i]);
|
||||
// Перейти к следующему выбору
|
||||
backtrack(state, target - choices[i], choices, i, res);
|
||||
// Откат: отменить выбор и восстановить предыдущее состояние
|
||||
state.pop_back();
|
||||
}
|
||||
}
|
||||
|
||||
/* Решить задачу суммы подмножеств I */
|
||||
vector<vector<int>> subsetSumI(vector<int> &nums, int target) {
|
||||
vector<int> state; // Состояние (подмножество)
|
||||
sort(nums.begin(), nums.end()); // Отсортировать nums
|
||||
int start = 0; // Стартовая вершина обхода
|
||||
vector<vector<int>> res; // Список результатов (список подмножеств)
|
||||
backtrack(state, target, nums, start, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
vector<int> nums = {3, 4, 5};
|
||||
int target = 9;
|
||||
|
||||
vector<vector<int>> res = subsetSumI(nums, target);
|
||||
|
||||
cout << "Входной массив nums = ";
|
||||
printVector(nums);
|
||||
cout << "target = " << target << endl;
|
||||
cout << "Все подмножества с суммой " << target << ": " << endl;
|
||||
printVectorMatrix(res);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* File: subset_sum_i_naive.cpp
|
||||
* Created Time: 2023-06-21
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Алгоритм бэктрекинга: сумма подмножеств I */
|
||||
void backtrack(vector<int> &state, int target, int total, vector<int> &choices, vector<vector<int>> &res) {
|
||||
// Если сумма подмножества равна target, записать решение
|
||||
if (total == target) {
|
||||
res.push_back(state);
|
||||
return;
|
||||
}
|
||||
// Перебор всех вариантов выбора
|
||||
for (size_t i = 0; i < choices.size(); i++) {
|
||||
// Отсечение: если сумма подмножества превышает target, пропустить этот выбор
|
||||
if (total + choices[i] > target) {
|
||||
continue;
|
||||
}
|
||||
// Попытка: сделать выбор и обновить элемент и total
|
||||
state.push_back(choices[i]);
|
||||
// Перейти к следующему выбору
|
||||
backtrack(state, target, total + choices[i], choices, res);
|
||||
// Откат: отменить выбор и восстановить предыдущее состояние
|
||||
state.pop_back();
|
||||
}
|
||||
}
|
||||
|
||||
/* Решить задачу суммы подмножеств I (с повторяющимися подмножествами) */
|
||||
vector<vector<int>> subsetSumINaive(vector<int> &nums, int target) {
|
||||
vector<int> state; // Состояние (подмножество)
|
||||
int total = 0; // Сумма подмножеств
|
||||
vector<vector<int>> res; // Список результатов (список подмножеств)
|
||||
backtrack(state, target, total, nums, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
vector<int> nums = {3, 4, 5};
|
||||
int target = 9;
|
||||
|
||||
vector<vector<int>> res = subsetSumINaive(nums, target);
|
||||
|
||||
cout << "Входной массив nums = ";
|
||||
printVector(nums);
|
||||
cout << "target = " << target << endl;
|
||||
cout << "Все подмножества с суммой " << target << ": " << endl;
|
||||
printVectorMatrix(res);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
/**
|
||||
* File: subset_sum_ii.cpp
|
||||
* Created Time: 2023-06-21
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
||||
/* Алгоритм бэктрекинга: сумма подмножеств II */
|
||||
void backtrack(vector<int> &state, int target, vector<int> &choices, int start, vector<vector<int>> &res) {
|
||||
// Если сумма подмножества равна target, записать решение
|
||||
if (target == 0) {
|
||||
res.push_back(state);
|
||||
return;
|
||||
}
|
||||
// Обойти все варианты выбора
|
||||
// Отсечение 2: начинать обход с start, чтобы избежать генерации повторяющихся подмножеств
|
||||
// Отсечение 3: начинать обход с start, чтобы избежать повторного выбора одного и того же элемента
|
||||
for (int i = start; i < choices.size(); i++) {
|
||||
// Отсечение 1: если сумма подмножества превышает target, немедленно завершить цикл
|
||||
// Это связано с тем, что массив уже отсортирован, следующие элементы больше, и сумма подмножества точно превысит target
|
||||
if (target - choices[i] < 0) {
|
||||
break;
|
||||
}
|
||||
// Отсечение 4: если этот элемент равен элементу слева, значит ветвь поиска повторяется, ее нужно сразу пропустить
|
||||
if (i > start && choices[i] == choices[i - 1]) {
|
||||
continue;
|
||||
}
|
||||
// Попытка: сделать выбор и обновить target и start
|
||||
state.push_back(choices[i]);
|
||||
// Перейти к следующему выбору
|
||||
backtrack(state, target - choices[i], choices, i + 1, res);
|
||||
// Откат: отменить выбор и восстановить предыдущее состояние
|
||||
state.pop_back();
|
||||
}
|
||||
}
|
||||
|
||||
/* Решить задачу суммы подмножеств II */
|
||||
vector<vector<int>> subsetSumII(vector<int> &nums, int target) {
|
||||
vector<int> state; // Состояние (подмножество)
|
||||
sort(nums.begin(), nums.end()); // Отсортировать nums
|
||||
int start = 0; // Стартовая вершина обхода
|
||||
vector<vector<int>> res; // Список результатов (список подмножеств)
|
||||
backtrack(state, target, nums, start, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/* Driver Code */
|
||||
int main() {
|
||||
vector<int> nums = {4, 4, 5};
|
||||
int target = 9;
|
||||
|
||||
vector<vector<int>> res = subsetSumII(nums, target);
|
||||
|
||||
cout << "Входной массив nums = ";
|
||||
printVector(nums);
|
||||
cout << "target = " << target << endl;
|
||||
cout << "Все подмножества с суммой " << target << ": " << endl;
|
||||
printVectorMatrix(res);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user