Https://.org/milcents/discussions/watch-full-rupauls-drag-race-season-12-episode-12-online-free/
https://.org/milcents/discussions/rupauls-drag-race-season-12-episode-12-s12e12-full-episodes/
https://.org/milcents/discussions/vh1-watch-rupauls-drag-race-season-12-episode-12-full-online-free/
var a, b, с: integer;
begin
write('Введите два числа: ');
readln(a, b);
if a < b then с := a + 1 else с := b + 1;
repeat с := с - 1
until (a mod с = 0) and (b mod с = 0);
write('NOD = ', с)
end.
//2. Алгоритм с вычитанием (цикл while)
var a, b: integer;
begin
write('a = ');
readln(a);
write('b = ');
readln(b);
while a <> b do
if a > b then
a := a - b
else
b := b - a;
writeln('NOD = ', a);
end.