 - (defun tt (aLst / rLst Int0 Int1 Int2 tLst)
- (setq rLst nil)
- (setq Int0 0)
- (while (setq Int1 (car aLst))
- (setq aLst (cdr aLst))
- (setq Int2 (length (setq tLst (ttt Int1 aLst))))
- (if (> Int2 Int0)
- (setq rLst tLst Int0 Int2)
- )
- )
- rLst
- )
- (defun ttt (Int Lst / rLst Int0 Int1 Int2 tLst)
- (setq rLst nil)
- (setq Int0 0)
- (setq Int1 (length Lst))
- (while (> Int1 Int0)
- (setq Int2 (length (setq tLst (tttt Int Lst))))
- (setq Lst (cdr Lst))
- (setq Int1 (1- Int1))
- (if (> Int2 Int0)
- (setq rLst tLst Int0 Int2)
- )
- )
- rLst
- )
- (defun tttt (Int Lst / rLst tLst Int0 Int1 Int2)
- (setq rLst nil)
- (setq Int0 0)
- (setq Int1 (length Lst))
- (while (> Int1 Int0)
- (setq Int2 (length (setq tLst (ttttt Int Lst))))
- (if (> Int2 Int0)
- (setq rLst tLst Int0 Int2)
- )
- (setq Lst (cdr Lst))
- (setq Int1 (1- Int1))
- )
- rLst
- )
- (defun ttttt (Int Lst)
- (cond
- ((not Lst) (list Int))
- ((> (car Lst) Int) (cons Int (ttttt (car Lst) (cdr Lst))))
- (T (ttttt Int (cdr Lst)))
- )
- )
|