Comment detail

LL Golf Hole 3 - 13日の金曜日を数え上げる (Nested Flatten)

This comment is reply for 7566 U Okumura: 73B。もう終わったけど…(LL Golf Hole 3 - 13日の金曜日を数え上げる). Go to thread root.

あ、個数もか… 削って85B。出力は汚いです。

1
l=((new Date()..new Date(113,11,31)).findAll{it.date*it.day==65});print"${l.size}$l"
同じ方針で 67B。使いませんでしたが,"${l.size}" は "$l.size" でOKです。
1
2
a=(new Date()..new Date(114,0,0)).grep{it=~/i\D+13/}
print a+a.size

Index

Feed

Other

Link

Pathtraq

loading...