Search found 2 matches

by bigx
Tue Oct 18, 2005 11:53 am
Forum: Anything else we might add?
Topic: need some help in lisp
Replies: 3
Views: 4645

thank it will be useful, but i think i didn't explain it very well
an example

if i have the list L : '(1 100 75 2 9 10 9)
and the number N as 256

i have to find the sequence of operations as below(or something wich gives me the same result):
(2*100)+75-(10+9)=256

thanks for your help!
by bigx
Mon Oct 17, 2005 4:06 pm
Forum: Anything else we might add?
Topic: need some help in lisp
Replies: 3
Views: 4645

need some help in lisp

hello i'm a french newbie in lisp i need some help to realise a function wich gives me the exact (or the nearest) result by using a list of numbers given in argument something like this (defun good-count (n l) ... )))))))))))))))))) where n is the number i want to found and l is the list of numbers ...