Skip to content

Commit 9bfc150

Browse files
committed
[euler/prob002] add version using sequence operator
1 parent 8c1c641 commit 9bfc150

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

euler/prob002-gerdr.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
use v6;
2+
3+
say [+] grep * %% 2, (1, 1, *+* ...^ * >= 4_000_000);

0 commit comments

Comments
 (0)