<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>ЕГЭ по ИНФОРМАТИКЕ 2023 by RomanSergeevich</title>
      <link>https://padlet.com/rf87_2016/inf23</link>
      <description>Всем большой привет! &quot;УМ&quot; - универсальный метод; &quot;ПУМ&quot; - почти универсальный:)</description>
      <language>en-us</language>
      <pubDate>2017-12-18 12:13:34 UTC</pubDate>
      <lastBuildDate>2023-06-15 10:46:49 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet-assets.s3.amazonaws.com/icons/Dartstarget.png</url>
      </image>
      <item>
         <title>!!! УМ</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559594552</link>
         <description><![CDATA[<div>1) Переписываем код изменив условие вывода&nbsp;<br>from itertools import product<br>print('XYZW')<br>for x,y,z,w in product((0,1),repeat=4):<br>&nbsp; &nbsp; if #Условие<br>&nbsp; &nbsp; &nbsp; &nbsp; print(x,y,z,w)<br>2) Сопоставляем с таблицей из задания<br>Пример:<br>https://youtu.be/Ap90OMj8o1w?t=152</div>]]></description>
         <enclosure url="https://youtu.be/Ap90OMj8o1w?t=152" />
         <pubDate>2023-04-19 03:59:15 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559594552</guid>
      </item>
      <item>
         <title>Самый изи тип</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559610941</link>
         <description><![CDATA[<div>Задание №14<br>Значение выражения 283<sup>382</sup> + 9<sup>15</sup>+2<sup>3</sup> записали в системе счисления с основанием 14. Определите модуль разности между количеством цифр В и С в записи этого числа.<br><br><br>#Алгоритм решения<br>num = 283**382+9**15+2**3#Число которе нужно перевести<br>step = 14 #Система счиления в которую нужно перевести<br>r = ''#ответ<br>while num&gt;0:<br>&nbsp; &nbsp; r = '0123456789ABCDEF'[num%step] + r<br>&nbsp; &nbsp; num = num//step<br>print(abs(r.count('B')-r.count('C')))<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 04:19:27 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559610941</guid>
      </item>
      <item>
         <title>Чуть сложнее новый тип(Досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559619264</link>
         <description><![CDATA[<div>Задание: Операнды арифметического выражения записаны в системе счисления с основанием 15.</div><div><strong>97968х15</strong><strong><sub>15</sub></strong><strong> + 7x233</strong><strong><sub>15</sub></strong></div><div>В записи чисел переменной х обозначена неизвестная цифра из алфавита 15-ричной системы счисления. Определите наименьшее значение х, при котором значение данного арифметического выражения кратно 14. Для найденного значения х вычислите частное от деления значения арифметического выражения на 14 и укажите его в ответе в десятичной системе счисления. Основание системы счисления в ответе указывать не нужно.<br><br>#Решение<br>for x in range(15):<br>&nbsp; &nbsp; one = '97968'+str(x)+'15'<br>&nbsp; &nbsp; two = '7'+str(x)+'233'<br>&nbsp; &nbsp; summa = int(one,15) + int(two,15)<br>&nbsp; &nbsp; if summa%14==0:<br>&nbsp; &nbsp; &nbsp; &nbsp; print(summa//14)<br>&nbsp; &nbsp; &nbsp; &nbsp; break</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 04:28:15 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559619264</guid>
      </item>
      <item>
         <title>Перебор всех возможных(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559632747</link>
         <description><![CDATA[<div>С помощью переборного алгоритма найдем все возможные соответствия вершинам графа пунктов из таблицы. Граф представим как строку, где подстроки, разделенные пробелом, будут представлять собой пункт (первый символ) и пункты, в которые можно из него попасть, остальные символы.&nbsp;<br><br>Код:<br>from itertools import permutations&nbsp;<br>s = 'абд бавд вбг гвеж дабе егдж жег'&nbsp;<br>s_g = {c[0]:set(c[1:]) for c in s.split()}&nbsp;<br>s1 = '1346 257 314 4137 5267 615 7245'&nbsp;<br>print('1234567')&nbsp;<br>for x in permutations(set(s) - {' '}):&nbsp;<br>&nbsp; &nbsp; s2 = s1&nbsp;<br>&nbsp; &nbsp; for a1, a2 in zip('1234567', x):&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; s2 = s2.replace(a1, a2)&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; s2_g = {c[0]: set(c[1:]) for c in s2.split()}&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if s2_g == s_g: print(*x, sep='')&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 04:43:49 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559632747</guid>
      </item>
      <item>
         <title>Самый короткий(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559634700</link>
         <description><![CDATA[<div>codes = ['0', '1010', '1111']&nbsp;<br># длина префиксов от 1 до 4&nbsp;<br>for i in range(1, 5): # все префиксы, как двоичные числа&nbsp;<br>&nbsp; &nbsp; for x in range(2**i):&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; pfx = bin(x)[2:].zfill(i) # если префикс не является началом данного кода # и данных кодов не являются началом префикса&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if all(c[:i] != pfx and pfx[:len(c)] != c for c in codes):print(pfx) break&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 04:46:01 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559634700</guid>
      </item>
      <item>
         <title>Если не будет кумира(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559637881</link>
         <description><![CDATA[<div>Воспользуемся библиотекой turtle, предварительно направив голову черепахи вдоль оси ординат. Добавив две команды для быстрой отрисовки – tracer(0) в начало алгоритма и update() в конец. Для большего масштаба увеличим каждое перемещение в 10 раз. После чего нанесем точки с целочисленными координатами. Так же не забудем унести команду update() в конец алгоритма.&nbsp;<br><br>Код:<br>from turtle import *<br>tracer(0)<br>left(90)<br>down()<br>right(315)<br>for _ in range(7):<br>&nbsp; &nbsp; forward(16*10)<br>&nbsp; &nbsp; right(45)<br>&nbsp; &nbsp; forward(8*10)<br>&nbsp; &nbsp; right(135)<br>for x in range(-15, 15):<br>&nbsp; &nbsp; for y in range(0, 25):<br>&nbsp; &nbsp; &nbsp; &nbsp; up()<br>&nbsp; &nbsp; &nbsp; &nbsp; goto(x*10, y*10)<br>&nbsp; &nbsp; &nbsp; &nbsp; down()<br>&nbsp; &nbsp; &nbsp; &nbsp; dot(3)<br>&nbsp; &nbsp; &nbsp; &nbsp; update()&nbsp;<br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2025627612/e75a1c9aa680435294319759f5c26ac0/image.png" />
         <pubDate>2023-04-19 04:49:24 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559637881</guid>
      </item>
      <item>
         <title>!! ПУМ Тип досрочный(распространённый)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559639933</link>
         <description><![CDATA[<div>from itertools import product&nbsp;<br>words = [''.join(x) for x in product('АВЛОР', repeat=4)]<br>print(words.index('ЛААА') + 1)&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 04:51:39 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559639933</guid>
      </item>
      <item>
         <title>!!! ПУМ Скелет для решения 12 (досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559644226</link>
         <description><![CDATA[<div>for i in range(3, 100):&nbsp;<br>&nbsp; &nbsp; s = '3' + '5'*i&nbsp;<br>&nbsp; &nbsp; while '25' in s or '355' in s or '555' in s:&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; s = s.replace('25', '3', 1)&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; s = s.replace('355', '52', 1)&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; s = s.replace('555', '23', 1)&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if sum(map(int, s)) == 27:&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print(i)&nbsp;<br>            break&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 04:56:01 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559644226</guid>
      </item>
      <item>
         <title>Дз на 19.04.2023(7012)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559657133</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2024770011/111f9cccf72c659e5e172c44e1c725eb/IMG_20230419_114326.jpg" />
         <pubDate>2023-04-19 05:09:38 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559657133</guid>
      </item>
      <item>
         <title>!!!УМ Excel</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559657546</link>
         <description><![CDATA[<div>1) Выделяем столбец С<br>2) Переходи в раздел Данные-Текст по столбцам<br>3) Выбираем пункт с разделителями-Далее<br>4) Выбираем пункт точка с запятой-Далее<br>5) Готово<br>6) В пустой столбец (F или E) Вписываем формулу:<br>=B2+МАКС(ЕСЛИ(C2;ВПР(C2;A:F;6;0);ЕСЛИ(D2;ВПР(D2;A:F;6;0);ЕСЛИ(E2;ВПР(E2;A:F;6;0)))))</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 05:10:04 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559657546</guid>
      </item>
      <item>
         <title>Дз на 19.04.2023(6275)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559658060</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2024770011/088354faa98cb2a7fedd0ae869358c91/IMG_20230419_114315.jpg" />
         <pubDate>2023-04-19 05:10:33 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559658060</guid>
      </item>
      <item>
         <title>Не цикличный графф(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559659695</link>
         <description><![CDATA[<div>Принцип решения:<br>1) Описываем все входящие дуги<br>2) Определяем значение в А, как 1<br>3) Если значения для всех начальных пунктов во входящих дугах определены, то находим значение в текущей вершине<br>4) Выполняем алгоритм до тех пор, пока значения для всех вершин не будет подсчитано.<br><br>g_str = 'ба вба гвб дг едг жг згеж иде киезл<br>лзж микл'<br>g = {c[0]: c[1:] for c in g_str.split()}<br>r = {'а': 1}<br>while not all(x in r for x in g):<br>&nbsp; &nbsp; for v, d in g.items():<br>&nbsp; &nbsp; if v not in r and all(x in r for x in d):<br>&nbsp; &nbsp; &nbsp; &nbsp; r[v] = sum(r[x] for x in d)<br>print(r['м'])</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 05:12:23 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559659695</guid>
      </item>
      <item>
         <title>Шаблон для 17(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559662650</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2025627612/6cf84f4f944a4a018bcac3a5d6eacc96/image.png" />
         <pubDate>2023-04-19 05:15:34 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559662650</guid>
      </item>
      <item>
         <title>Динамика(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559664858</link>
         <description><![CDATA[<div>def cnt(a, b):&nbsp;<br>&nbsp; &nbsp; c = [0]*(b+1)&nbsp;<br>&nbsp; &nbsp; c[a] = 1 for i in range(a, b):&nbsp;<br>&nbsp; &nbsp; if i == 13:&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; continue&nbsp;<br>&nbsp; &nbsp; for nxt in (i+1, i+2, i*3):&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if nxt &lt;= b:&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c[nxt] += c[i]&nbsp;<br>&nbsp; &nbsp; return c[b]&nbsp;<br>print(cnt(3,8) * cnt(8, 18))&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 05:17:53 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559664858</guid>
      </item>
      <item>
         <title>Шаблон(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559678446</link>
         <description><![CDATA[<div>from fnmatch import fnmatch<br>for x in range(0, 10**8, 273):&nbsp;<br>&nbsp; &nbsp; if fnmatch(str(x), '12??36*1'):&nbsp;<br>        print(x, x // 273)&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 05:33:20 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559678446</guid>
      </item>
      <item>
         <title>Динамика(досрок)</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2559682118</link>
         <description><![CDATA[<div>Алгоритм вычисления значения функции F(n), где n – натуральное число, задан следующими соотношениями: F(n) = n, если n ≥ 2025, F(n) =n + 3 + f(n+3), если n &lt; 2025. Чему равно значение выражения F(23) – F(21)?&nbsp;<br><br>Код<br># заведем список для хранения значений&nbsp;<br># последние значения определяются&nbsp;<br># по условию выхода из рекурсии&nbsp;<br>f = [0]*2025 + [2025, 2026, 2027]&nbsp;<br># перебираем значения в порядке убывания до 21&nbsp;<br>for n in range(2024, 20, -1):&nbsp;<br>&nbsp; &nbsp; f[n] = n + 3 + f[n+3]&nbsp;<br>print(f[23] – f[21])&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-19 05:37:20 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2559682118</guid>
      </item>
      <item>
         <title>решение 17 задания из варианта Якунина</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2570433795</link>
         <description><![CDATA[<pre>f=open('17.txt')
a=[]
r=''
mx=0
for x in f:
    a.append(int(x))
    n=x.count('1')+x.count('2')*2+x.count('3')*3+x.count('4')*4+x.count('5')*5+x.count('6')*6+x.count('7')*7+x.count('8')*8+x.count('9')*9
    if n&gt;mx:
        mx=n
        r=x
summa=(r.count('1')+r.count('2')*2+r.count('3')*3+r.count('4')*4+r.count('5')*5+r.count('6')*6+r.count('7')*7+r.count('8')*8+r.count('9')*9)
print(summa)
kol=0
naib=0
for i in range(0,len(a)):
    b=bin(a[i])[2:]
    s=b.count('1')
    if summa%s==0:
        kol+=1
        if a[i]&gt;naib:
            naib=a[i]
print(kol,naib)</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-27 14:09:09 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2570433795</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2621803822</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1386298131/4fecc91de4c2eb6709647061150a0b1b/IMG_20230613_110514.jpg" />
         <pubDate>2023-06-13 04:05:51 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2621803822</guid>
      </item>
      <item>
         <title>решение при F = 0</title>
         <author></author>
         <link>https://padlet.com/rf87_2016/inf23/wish/2624449614</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2071061874/30b3e3c633f4e325e07e1682f843de94/image.png" />
         <pubDate>2023-06-15 10:46:49 UTC</pubDate>
         <guid>https://padlet.com/rf87_2016/inf23/wish/2624449614</guid>
      </item>
   </channel>
</rss>
