94
правки
Изменения
Нет описания правки
if (pointer < 0)
return false
if (pointer == 0)
return true
else
pointer_closed++
delete(s, length(s) - pointer_open - pointer_closed + 1, pointer_closed + l)
if (s == ''):
return false
s = s +')'