Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Is my triangle right?

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
Oct 26, 2017 at 11:37 history edited Timtech CC BY-SA 3.0
added 40 characters in body
Oct 26, 2017 at 11:37 comment added Timtech @MishaLavrov That's interesting, I see what you mean. I think the expressions are equivalent for all non-negative inputs.
Oct 25, 2017 at 22:24 comment added Misha Lavrov If we leave off a single ), then max(Ans=R►Pr(min(Ans),median(Ans is also valid (though the computation we're doing here is different) and is one byte shorter.
Oct 25, 2017 at 22:06 comment added Timtech @MishaLavrov Thanks for pointing that out, it's actually shorter handling as a list. Now it works for inputs in any order.
Oct 25, 2017 at 22:05 history edited Timtech CC BY-SA 3.0
deleted 26 characters in body
Oct 25, 2017 at 16:29 comment added Misha Lavrov This only detects sorted right triangles: input of A=5, B=4, C=3 would not be correctly handled.
Oct 25, 2017 at 15:45 comment added mdahmoune If possible, please include a link to an online testing environment so other people can try out your code!
Oct 24, 2017 at 10:59 history answered Timtech CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /