Stack Exchange
log in
users (27)
rooms (29)
faq
Maltysen
general
recent
conversations
The Nineteenth Byte
The Nineteenth Byte: General discussion for
codegolf.stackexc...
11
6
Maltysen
May 25, 2019 15:07
@EsolangingFruit do u have test case?
Maltysen
May 17, 2019 13:05
but not brute force
Maltysen
May 17, 2019 13:05
so people can do stupid golf stuff
Maltysen
May 17, 2019 13:05
and give a list with n=20
Maltysen
May 17, 2019 13:05
or even an hour
Maltysen
May 17, 2019 13:05
or something
Maltysen
May 17, 2019 13:05
that it has to do the test cases <10 s
Maltysen
May 17, 2019 13:04
u can just say
Maltysen
May 17, 2019 13:03
im not sure if greedy would work
Maltysen
May 17, 2019 13:03
I haven't figured out the pattern
Maltysen
May 17, 2019 13:02
oh yeah lol
Maltysen
May 17, 2019 13:02
and sum that (s)
Maltysen
May 17, 2019 13:02
and abs (.aM)
Maltysen
May 17, 2019 13:01
sum (sM)
Maltysen
May 17, 2019 13:01
then map(M)
Maltysen
May 17, 2019 13:01
._N is prefixes of the lambda var
Maltysen
May 17, 2019 13:01
then we take head(h) of sortby(o)
Maltysen
May 17, 2019 13:01
.p is premutations
Maltysen
May 17, 2019 12:56
hos.aMsM._N.p
Maltysen
May 17, 2019 12:56
@Adám Pyth, 13 bytes
Maltysen
May 17, 2019 12:54
the sum of deviations would be 11?
Maltysen
May 17, 2019 12:54
so like for the answer
Maltysen
Apr 26, 2019 00:21
oh, ok
Maltysen
Apr 26, 2019 00:17
@Mego hey, are you still at Google? I'm in host matching for an internship now, and was wondering if you know any groups or projects that are cool that I should ask for.
Maltysen
Apr 25, 2019 23:10
gdrive comes to mind but it requires ur email to be public
Maltysen
Apr 25, 2019 23:10
also what are some nice places to upload a file to link to question
Maltysen
Apr 25, 2019 23:09
yeah it does
Maltysen
Apr 25, 2019 23:06
kk
Maltysen
Apr 25, 2019 23:02
What's our stance on taking problems from somewhere else and asking them as questions?
Maltysen
Apr 12, 2019 14:45
ah yeah, thats what i meant
Maltysen
Apr 12, 2019 14:44
by n/12
Maltysen
Apr 12, 2019 14:44
srry
Maltysen
Apr 12, 2019 14:44
err
Maltysen
Apr 12, 2019 14:44
@LeakyNun so can I divide by n/2?
Maltysen
Apr 12, 2019 14:40
o
Maltysen
Apr 12, 2019 14:29
central limit theorem
Maltysen
Apr 12, 2019 14:29
@LeakyNun
-smOZK100cK2
Maltysen
Apr 12, 2019 13:33
cool
Maltysen
Apr 12, 2019 13:33
u can even do
for a, *b
and things like that
Maltysen
Apr 12, 2019 13:32
its not symbolic, its actually just using the lhs
Maltysen
Apr 12, 2019 13:32
for a, b in ...
Maltysen
Apr 12, 2019 13:32
do
Maltysen
Apr 12, 2019 13:32
oh so that's why u can
Maltysen
Apr 12, 2019 13:30
@ConorO'Brien hmmm so it kinda looks like u can loop over any lhs
Maltysen
Apr 12, 2019 13:26
didn't think that using attributes as a loop var would work
Maltysen
Apr 12, 2019 13:24
lol that's cool
Maltysen
Apr 11, 2019 02:27
@Riker hey :)
Maltysen
Apr 10, 2019 16:29
happens on univeristy computers
Maltysen
Apr 10, 2019 16:29
as of recently
Maltysen
Apr 10, 2019 16:29
unfortunately, most of my time wasting