Page 1 of 1

864 - Scheme Pretty-Printing

Posted: Sun Oct 24, 2004 10:53 am
by ..
Well......the definition in this problem is so troublesome, my PE code is so messy.......
Could anyone give me some in/out for possible PE? Thanks!

Posted: Sun Dec 24, 2006 5:32 pm
by ..
Could any one give the output of this input? Thanks in advance :)

Code: Select all

(+ (- b c (d)) (- a b (c)))

Posted: Sun Dec 24, 2006 6:54 pm
by mf
My accepted solution's output:

Code: Select all

(+ (- b
      c
      (d))
   (- a
      b
      (c)))