« first day (26 days earlier)      last day (2343 days later) » 

user165474
3:17 AM
Anyone here?
 
user165474
@EriktheOutgolfer @LeakyNun
 
user165474
Challenge Idea: ZIP without using built-ins for zipping/transposing
 
user165474
Input is a rectangular matrix
 
user165474
Output is that matrix transposed, without using any zip built-ins
 
user165474
12:18 PM
Turns out to be a bit trickier than I thought. I have another challenge idea:
 
user165474
R without builtins for range. Should be able to be used like a regular monad.
 
@HyperNeutrino can do it in 2 bytes
 
user165474
Oh.
 
and it does work as a regular monad indeed
 
user165474
??? hm
 
12:20 PM
well it uses undocumented behavior
 
user165474
:I
 
user165474
I wouldn't be able to figure it out then
 
user165474
CHALLENGE: Difficulty EASY: With input x give a list of x 1s.
 
user165474
(without using list repetition)
 
user165474
I have a 3-byte solution but you might be able to do better.
 
12:24 PM
may I assume x > 0?
 
user165474
Sure.
 
should it work as a monad? because otherwise I can do it in 2 bytes
 
user165474
It doesn't have to.
 
2 bytes then
 
user165474
nice
 
12:26 PM
actually 1ẋ is still 2 bytes...
...although that uses list repetition
link to your 3-byte solution please?
 
user165474
 
my solution is totally different
again undocumented behavior though
 
user165474
:I
 
user165474
link please?
 
I want you to find the range (should work as a monad) and this yourself first
rn it seems you're fast-quitting that's why I say this
 
user165474
12:30 PM
Ah okay.
 
user165474
I'll try more then. It's just that I don't know the undocumented behaviour to expect :I
 
I mostly learn undocumented behavior by looking at others' (mainly Dennis's) answers
 
user165474
Ah. Okay.
 
user165474
Can you give me a hint as to what sort of undocumented behaviour occurs?
 
for the range, try to look for quicks that wouldn't make sense for single integers
then, filter to those which apply to monads
 
user165474
12:33 PM
Ah okay.
 
that should be a starting point
 
user165474
neither reduce would make sense (I'm just listing some here)
 
user165474
product table
 
user165474
map
 
user165474
sort
 
user165474
12:34 PM
filter
 
user165474
@EriktheOutgolfer 2 bytes
 
see? you didn't need a spoiler after all :)
 
user165474
:)
 
user165474
ok now for the 1s list thingy
 
first of all you must assume x > 0 (something that your 3-byte solution doesn't do)
second, avoid x and entirely
 
user165474
12:41 PM
Okay. (Well second one is obvious because I said no list repetitions)
 
third, you shouldn't be looking for a quick
 
user165474
oh
 
user165474
okay
 
@HyperNeutrino I emphasized the second so that you avoid the grand temptation
 
user165474
Ah okay. :P
 
12:43 PM
@HyperNeutrino I figured out a 2-byte solution where you don't need to assume x > 0
so now you shouldn't either :P
 
user165474
Ah. Nice.
 
user165474
:P
 
still no quick
 
user165474
 
user165474
12:44 PM
yay
 
conclusion: avoid the spoiler as much as you can
 
user165474
Yes :P Typically I learn more this way actually.
 
yes that's why. using the spoiler is like trying to memorize certain stuff when studying without necessarily understanding what's going on, and when asked to explain what a part does or what a slightly modified snippet does, you go like :O WTF I don't even...:(
 
user165474
Yeah true. :P
 
user165474
Also learning system idea (if you aren't already doing this :P): have a test to advance levels; for example, 1 -> 2 do stuff like the right isoceles triangle challenge or maybe easier/harder
 
12:49 PM
I'm trying to do it that's why levels exist
 
user165474
Ah okay. :P
 
3:47 PM
5
Q: Trithagorean Triples

Wheat WizardA Pythagorean Triple is an integer solution to the equation: A Trithagorean triple is and integer solution to the equation: Where Δn finds the nth triangular number. All Trithagorean triples are also solutions to the equation: Task Given a positive integer c, output all the pairs of po...

@ComradeSparklePony @HyperNeutrino @LeakyNun
(avoid my answer!)
my answer is 16 bytes fyi
 
 
2 hours later…
5:36 PM
hint: now the answer is 12 bytes
but it's not at all trivial
11
Q: Find an Unrelated Number

MayubeGiven 2 non-negative integers as input, output a non-negative integer that cannot be created through any mathematical operators on the 2 inputs. For example, given inputs 2 and 3, 6, 0, 5, 1, 9, 8, 23, 2 are all invalid outputs. Operations that must be taken into account are: Addition (...

@ATaco @ComradeSparklePony
do not look at the comments or the answers, my answer is 3 bytes fyi
 
user165474
5:52 PM
Oh right this one. Well rip I can't do this lol
 
user165474
I'll do the Trithagorean one when I get home.
 
user165474
My school WiFi blocks imgur and stack.imgur :(
 
how is this related to imgur?
 
user165474
The images in the question don't display.
 
pythagorean triple formula is a²+b²+c²
 
user165474
5:56 PM
ok
 
user165474
pyth or tryth
 
user165474
are you describing the images?
 
trithagorean triple formula is T(a)+T(b)=T(c) where T(n) is nth triangular number
the third image is a²+a+b²+b=c²+c
@HyperNeutrino yes
 
user165474
ok thanks
 
don't look at the answers, although there's a 16-byte answer (mine, somewhat trivial) and a 12-byte one (Dennis's, not trivial at all)
but my answer will soon be reduced to 14
 
user165474
6:00 PM
ah ok i'll try to get something working
 
14 bytes seems trivial
 

« first day (26 days earlier)      last day (2343 days later) »