From 7f73789e3e42351de18a1225b44cadae60cceee3 Mon Sep 17 00:00:00 2001 From: 24_PolujanovVE <24_PolujanovVE@iux.local> Date: Fri, 27 Feb 2026 12:50:17 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=87=D0=B8=D0=B9?= =?UTF-8?q?=20=D1=84=D0=B0=D0=B9=D0=BB:=20=D0=9D=D0=9E=D0=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NOK.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 NOK.sh diff --git a/NOK.sh b/NOK.sh new file mode 100755 index 0000000..2c280b3 --- /dev/null +++ b/NOK.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +a=$1 +clone_a=$a +b=$2 +clone_b=$b +while [ $b -ne 0 ]; do + temp=$b + b=$((a % b)) + a=$temp +done +c=$((clone_a * clone_b)) +d=$((c / a)) +echo $d From c201b4942e1e7138fcefc6344e7fb7367d24ead3 Mon Sep 17 00:00:00 2001 From: 24_PolujanovVE <24_PolujanovVE@iux.local> Date: Fri, 27 Feb 2026 16:31:57 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=9D=D0=9E=D0=94O?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- naibolshiy_obchiy_delitel.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 naibolshiy_obchiy_delitel.sh diff --git a/naibolshiy_obchiy_delitel.sh b/naibolshiy_obchiy_delitel.sh new file mode 100755 index 0000000..c3e3e23 --- /dev/null +++ b/naibolshiy_obchiy_delitel.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +a=$1 +b=$2 + +while [ $b -ne 0 ]; do + x=$((a % b)) + a=$b + b=$x +done +echo $a