last day (62 days later) » 

7:43 PM
 
Jim
Yup
 
CMC: n -> [n^2...1]
3 -> [9,8,7,6,5,4,3,2,1]
Done?
I have 5 bytes now
 
Jim
That would be _S^Q2
 
Jim
7:48 PM
My turn to write an CMC
 
@Jim Your turn (get sth harder now)
 
Jim
CMC: n -> [0, 0, 1, 0, 2, 0, 3, 0, ..., n, 0]
 
@Jim Hmm. Better
 
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
7:55 PM
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
I don't know
Looking into it
And you can replace [0) by ]0
 
@Jim Just done that too :)
 
Jim
And +0S by Uh I think
 
@Jim ?
 
Jim
7:58 PM
@Mr.Xcoder Yep?
 
I do
Thanks
9 bytes: .nm+d]0Uh
Why wouldn't C*hQ]0Uh work?
 
Jim
I don't know if C can be used as zip
 
@Jim It can
 
Jim
However with your solution, you can use , to gain an extra byte and you'll have my solution
 
It expects a tuple...
 
Jim
8:01 PM
@Mr.Xcoder Oh, yes, transpose is actually a zip
Never thought of that
 
.nm,d0Uh
 
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
@Mr.Xcoder C,*hQ]0Uh
 
"Hello" -> ["Hello","elloH","lloHe","loHel","oHell"]
 
Jim
8:08 PM
@Mr.Xcoder 6 bytes
 
6?! I have 9
 
Jim
Try harder!
 
Show me what you have @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
8:11 PM
Okay
 
Gotta leave in ~5 mins
 
Jim
CMC: n -> [0, -1, 2, -3, ..., n or -n]
 
@Jim good
 
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
8:15 PM
That should be n for odd and -n for even
But okay
 
m?%d2_ddUh
 
Wait, you don't have a leading 0.
 
Jim
Oops, I forgot the initial 0
Yes
 
Ah, misuderstood
Will fix
 
Jim
8:17 PM
So that's .e*?%k2_1 1b}Z
 
In your example, odd numbers are negative
 
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
Okay
See you
 
Bye
 

  last day (62 days later) »