hny

Jan. 4th, 2016 02:37 am
thedeemon: (faculty of numbers)
[personal profile] thedeemon
Prelude> sum [1..63]
2016

или лучше даже
sum $ take 64 [0..]

Date: 2016-01-03 11:44 pm (UTC)
From: [identity profile] orleanz.livejournal.com
λ 666 + 666 + 666 + (6+6+6)
2016
:: Num a => a

Date: 2016-01-04 08:28 am (UTC)
From: [identity profile] sassa-nf.livejournal.com
2*(2*(2*2)^2)^2-2*(2*2)^2
Edited Date: 2016-01-04 08:32 am (UTC)

Date: 2016-01-04 09:19 am (UTC)
From: [identity profile] sassa-nf.livejournal.com
можно было бы и префиксно записать, чтоб нагляднее:

- * ^ * ^ * 2 2 2 2 2 2 * ^ * 2 2 2 2

Date: 2016-01-04 07:51 pm (UTC)
From: [identity profile] nivanych.livejournal.com
> sum [1..63]

Хорошо, что 63, а то б можно было и комп повесить!

Profile

thedeemon: (Default)
Dmitry Popov

December 2025

S M T W T F S
 12 3456
789101112 13
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 26th, 2026 09:11 pm
Powered by Dreamwidth Studios