63
правки
Изменения
Нет описания правки
'''fun''' SCS(x: '''int''', y: '''int'''): ''<font color="green">// аналог void </font>''
scs[i][0] = i
'''for''' j = 0 '''to''' nm
scs[0][j] = j
'''for''' i = 1 '''to''' mn '''for''' j = 1 '''to''' nm
'''if''' x[i] == y[j]
scs[i][j] = 1 + scs[i - 1][j - 1]