Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
各アイテムが(rgb)カラーであるリストを指定すると、各カラーの最大コンポーネントで構成されるリストが返されます。
例:((123 200 6)(10 30 20)(212 255 10)(0 0 39)(37 34 34))が与えられた場合、コードは(200 30 255 39 37)を返す必要があります
(define (sublist-max list-of-lists) (map (lambda (sublist) (apply max sublist)) list-of-lists))