Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bigx

#1
Anything else we might add? /
October 18, 2005, 04:53:22 AM
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!
#2
Anything else we might add? / need some help in lisp
October 17, 2005, 09:06:24 AM
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 i have to use to found n

i can also use results of operation on the numbers of the list l

i can only use +,-,/,* operations



thanks for your help

and apologize me for my bad english 'im french



see you!