Issues with Scheme problems (223 224)

Back to General discussions forum

Dan Nagle     2026-01-08 12:30:58

For problem #223 the server reports an error that the initial value is not displayed however it works on my local system using TinyScheme 1.42.

I've tried using both display and write for the output. i.e. (display n) ... (display " "), (write n) ... (write-char #\space)

However neither work on submission.

Upon submission, problem #224 reports an error with test.scm:

Non-zero exit code 255 : ((1 3 5) (2 4 6))
((1 3 4) (2 5 6))
((1 8 4) (2 3 5) (7 6))
()
Error: (test.scm : 43) car: argument 1 must be: pair 
Errors encountered reading test.scm
Rodion (admin)     2026-01-08 19:02:11
User avatar

Dan, Hi and thanks for the report!

I looked into 223 and it worked well for me. (display 13) works fine when entered into "code" area and "run" button is hit. So I peeked into your code and unless I'm mistaken it may be lacking the very last closing parenthesis.

Of course it is no good that checker doesn't report such situation. I'll try to figure out how to fix this and then proceed with your other notes (another thanks for them).

Dan Nagle     2026-01-09 16:49:25

Thanks for that. I'm not sure how I missed the final parenthesis.

Please login and solve 5 problems to be able to post at forum