« first day (1412 days earlier)
← previous day
next day →
last day (957 days later) »
Unrelated String
12:20 AM
3 bytes, but 2 feels like it should be possible
3 hours later…
ChartZ Belatedly
3:15 AM
@UnrelatedString 2 is possible :P
Unrelated String
3:34 AM
:P indeed
oh of course
user
Why doesn't
fE
work? Edit: never mind, I'm dumb
@ChartZBelatedly
⁼f
I feel like some variation of
ḟ¬
should work too :(
Unrelated String
4:02 AM
@user
ḟṆ
?
user
@UnrelatedString Noce, thanks!
And another possible 2 byte solution would be prepending A to the list and then doing E
ChartZ Belatedly
@user Yep,
;E
is another possible solution :)
user
4:26 AM
@ChartZBelatedly There serm to be a lot of these
Tine to find q one byte solution :P
E if input fornqt hqs the number qs pqrt of the list
ChartZ Belatedly
4:42 AM
@user I very much doubt there’s a one byte solution unfortunately
user
@ChartZBelatedly Lemme just hack into TIO’s server and make an empty program implement your cmc :P
(btw replace q with a above, I switched to azerty)
10 hours later…
ChartZ Belatedly
2:58 PM
CMC
: Given a list
A
and an integer
I
, test if all elements of
A
are less than or equal to
I
. Your solution should work for lists with arbitrary depth (i.e. lists within lists etc.)
2 hours later…
user
4:39 PM
@ChartZBelatedly So for A=
[[3,4,5],6]
, I=
6
, would it be 0 or 1?
Would 6 be compared to 3, 4, 5 separately or to the list [3,4,5], I mean?
ChartZ Belatedly
@user 1
Comparing the integers, not the lists
user
5:06 PM
Oh ok
3 hours later…
user
7:54 PM
@ChartZBelatedly
>FẸṆ
, but there's probably a better way.
ChartZ Belatedly
@user There is. It's doable in 2 bytes, but good first shot :)
user
8:09 PM
÷ỊFẠ
is another disappointment
user
8:20 PM
@ChartZBelatedly Does it have something to do with
Ṁ>
? (and does it invert the outputted boolean?)
ChartZ Belatedly
@user It kinda does I guess and it outputs normal boolean
user
@ChartZBelatedly Mmm, this is a tough one.
ChartZ Belatedly
@user Let me know if you want a hint
user
I'm a bit surprised Jelly doesn't have ≤ or ≥, actually
@ChartZBelatedly I think I'm going to tear out my hair for a few minutes more first :P
ChartZ Belatedly
@user As you should :P
user
8:37 PM
Look, I increased my score!
F>ƇȦ¬
@ChartZBelatedly Can I have that hint now? I'm stuck :P
ChartZ Belatedly
@user Take a look at my latest
Jelly tip
Spoiler, it contains the answer
Try and do it without looking at the table of atoms in the answer :P
user
@ChartZBelatedly It's going to be hard.
ChartZ Belatedly
@user How so?
user
@ChartZBelatedly Not looking at the table, I mean
ChartZ Belatedly
@user The answer's nearer the end so just don't scroll down :P
user
8:44 PM
So basically, you need a dyad that gives you x if x is less than or equal to I, and something else that is not x otherwise
ChartZ Belatedly
@user Yeah, basically
user
Looks like the minimum of x and I should do that.
@ChartZBelatedly
«Ƒ
(Thanks for all the help!)
ChartZ Belatedly
@user Nice :D
« first day (1412 days earlier)
← previous day
next day →
last day (957 days later) »
all rooms
Transcript for
Mar
9
Mar '21
10
Mar
14
Jelly Hypertraining
Practice your Jelly :) Rules and stuff are here:
golfingsucces...
1
class
code-golf
jelly
practice
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile