last day (62 days later) » 

Jim
Jim
Yup
CMC: n -> [n^2...1]
3 -> [9,8,7,6,5,4,3,2,1]
Done?
I have 5 bytes now
Jim
Jim
That would be _S^Q2
Jim
Jim
19:48
My turn to write an CMC
@Jim Your turn (get sth harder now)
Jim
Jim
CMC: n -> [0, 0, 1, 0, 2, 0, 3, 0, ..., n, 0]
@Jim Hmm. Better
Jim
Jim
11 bytes right now
Got a bit more work to do
Can the output be [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [0, n]] instead?
NVM
Jim
Jim
19:55
No, but you're on the right track
I have 8 bytes
11 bytes: .nm+d[0)+0S
Golfing now
How does C work as Zip?
Jim
Jim
I don't know
Looking into it
And you can replace [0) by ]0
@Jim Just done that too :)
Jim
Jim
And +0S by Uh I think
Jim
Jim
19:58
@Mr.Xcoder Yep?
I do
Thanks
9 bytes: .nm+d]0Uh
Why wouldn't C*hQ]0Uh work?
Jim
Jim
I don't know if C can be used as zip
@Jim It can
Jim
Jim
However with your solution, you can use , to gain an extra byte and you'll have my solution
It expects a tuple...
Jim
Jim
20:01
@Mr.Xcoder Oh, yes, transpose is actually a zip
Never thought of that
.nm,d0Uh
Jim
Jim
So it's C,*hQ]0Uh for your answer
Mine was .nm,dZUh too
@Jim C,*hQ]0Uh gives ``[[[1, 0], 0], [[2, 0], 1], [[3, 0], 2], [[4, 0], 3], [[5, 0], 4]]
@Jim Merely Identical
My turn
Jim
Jim
@Mr.Xcoder C,*hQ]0Uh
"Hello" -> ["Hello","elloH","lloHe","loHel","oHell"]
Jim
Jim
20:08
@Mr.Xcoder 6 bytes
6?! I have 9
Jim
Jim
Try harder!
Show me what you have @Jim
Jim
Jim
@Mr.Xcoder m.<QdU
m+>Qd<QdU
I didn't know of .<
So I did my best :)
Your turn
(last one, I have to go then)
Jim
Jim
20:11
Okay
Gotta leave in ~5 mins
Jim
Jim
CMC: n -> [0, -1, 2, -3, ..., n or -n]
@Jim good
Jim
Jim
@Mr.Xcoder 13 bytes
Not ready yet
@Jim 10 bytes (finishes with -n for odd n and n for even n) Is that allowed?
@Jim ?
Jim
Jim
20:15
That should be n for odd and -n for even
But okay
m?%d2_ddUh
Wait, you don't have a leading 0.
Jim
Jim
Oops, I forgot the initial 0
Yes
Ah, misuderstood
Will fix
Jim
Jim
20:17
So that's .e*?%k2_1 1b}Z
In your example, odd numbers are negative
Jim
Jim
But I don't know why I lost myself using .e
Yes
You were right
yes what?
Okay
Ok gotta go.
see ya next time
Jim
Jim
Okay
See you

  last day (62 days later) »