May 13, 2024, 3:45 a.m. |
+ 1 |
for Comment
Stensen: Nice!
|
May 7, 2024, 4:30 a.m. |
+ 2 |
for
First-mildm
|
May 7, 2024, 4:30 a.m. |
+ 2 |
for
First-Andrew12Andrew
|
May 7, 2024, 4:28 a.m. |
+ 2 |
for
split & join-TheBigDilla
|
May 7, 2024, 4:28 a.m. |
+ 3 |
for
First-hanpari
|
April 30, 2024, 4:42 a.m. |
+ 1 |
for Comment
adamspj: Interesting, though I was a bit confused at first about how you were popping out a list then inserti...
|
April 30, 2024, 4:38 a.m. |
+ 1 |
for Comment
xiejam: good one liner.
|
April 30, 2024, 4:38 a.m. |
+ 1 |
for Comment
xiejam: good
|
April 17, 2024, 4:58 a.m. |
+ 1 |
for Comment
H0r4c3: A good solution!
|
April 12, 2024, 12:14 a.m. |
+ 1 |
for Comment
U.V: Not bad
|
April 12, 2024, 12:14 a.m. |
+ 1 |
for Comment
U.V: It's really Heron's
|
April 11, 2024, 3:28 a.m. |
+ 5 |
for
Simple and only 5 lines!-texom512
|
April 11, 2024, 12:46 a.m. |
+ 3 |
for
First-imloafer
|
April 11, 2024, 12:45 a.m. |
+ 3 |
for
classic reverse approach-dan_rue
|
April 11, 2024, 12:44 a.m. |
+ 4 |
for
Classic-gleb10101010101
|
April 10, 2024, 10:59 a.m. |
+ 3 |
for
29-liner: lambda classmate-przemyslaw.daniel
|
March 28, 2024, 2:21 a.m. |
+ 1 |
for Comment
StefanPochmann: A little benchmark with an extreme case: ```python from timeit import timeit iterable = range(10**5)...
|
March 28, 2024, 12:08 a.m. |
+ 1 |
for Comment
StefanPochmann: Yeah, I tried to understand it but couldn't make sense of it, as I didn't see any sums.
|
March 26, 2024, 5:46 a.m. |
+ 1 |
for Comment
StefanPochmann: Doesn't work, for example returns `True` for `balanced_centrifuge(6, 1)` and returns `False` for `ba...
|
March 25, 2024, 2:19 a.m. |
+ 1 |
for Comment
StefanPochmann: Oh, `replace("/","//")` is good. Longer than my trick, but much better. And so obvious in hindsight ...
|
March 25, 2024, 12:15 a.m. |
+ 1 |
for Comment
StefanPochmann: That's pretty bad. Try `postfix_evaluate([2, 3, "/", 10, "*"])`. Causes an infinite loop and memory ...
|
March 21, 2024, 8:03 a.m. |
+ 1 |
for Comment
rybld2: Thank you so much
|
March 21, 2024, 6:20 a.m. |
+ 5 |
for
Finally simple-BootzenKatzen
|
March 21, 2024, 6:19 a.m. |
+ 3 |
for
The more lines, the better))-Nocturne13
|
March 21, 2024, 6:16 a.m. |
+ 3 |
for
Second-Nocturne13
|
March 21, 2024, 6:10 a.m. |
+ 5 |
for
a tiny cup of pandas-rybld2
|
March 21, 2024, 12:11 a.m. |
+ 1 |
for Comment
H0r4c3: Great solution!
|
March 19, 2024, 2:39 a.m. |
+ 1 |
for
Reverse Vowels in The Champernowne Word And Debug The Result!
|
March 19, 2024, 12:38 a.m. |
+ 3 |
for
Refactored and a lot of debugging-wcass77
|
March 18, 2024, 8:10 a.m. |
+ 3 |
for
as simple as greedy: often doesn't work!-flpo
|
March 18, 2024, 6:05 a.m. |
+ 3 |
for
First-Karolina_Sekutowicz
|
March 18, 2024, 6:04 a.m. |
+ 1 |
for Comment
wo.tomasz: You use "sorted(items)" 3 times which doesn't look very good. Once you extract it, your code will be...
|
March 18, 2024, 5:23 a.m. |
+ 1 |
for Comment
H0r4c3: Nice solution!
|
March 13, 2024, 4:19 a.m. |
+ 3 |
for
First-a8696tk
|
March 13, 2024, 3:05 a.m. |
+ 1 |
for Comment
kdim: O! Thank you! I didn't know about this algorithm. Is it clear now!
|
March 13, 2024, 2:32 a.m. |
+ 5 |
for
First-imloafer
|
March 13, 2024, 12:34 a.m. |
+ 1 |
for Comment
kdim: difficult to understand
|
March 13, 2024, 12:27 a.m. |
+ 1 |
for Comment
kdim: sum([]) can be used without square brackets sum(), its more shorter
|
March 13, 2024, 12:21 a.m. |
+ 1 |
for Comment
kdim: interesting solution
|
March 12, 2024, 5:54 a.m. |
+ 1 |
for Comment
adamspj: Thank you. I'm learning as I go, so it's valuable to look back at solutions and try to reinforce my ...
|
March 12, 2024, 4:41 a.m. |
+ 3 |
for
First-jin_check
|
March 12, 2024, 4:38 a.m. |
+ 5 |
for
Recursive extend-adamspj
|
March 11, 2024, 4:25 a.m. |
+ 3 |
for
First-kurosawa4434
|
March 5, 2024, 12:45 a.m. |
+ 1 |
for Comment
juestr: If you made `minhit = float("inf")` an extra argument like others you could avoid the clunky global ...
|
March 4, 2024, 5:05 a.m. |
+ 3 |
for
First-imloafer
|
March 4, 2024, 5:03 a.m. |
+ 3 |
for
vampire sad-viktor.chyrkin
|
March 4, 2024, 5 a.m. |
+ 2 |
for
First-book1978
|
March 1, 2024, 2:27 a.m. |
+ 4 |
for
First-bunnychai
|
March 1, 2024, 2:19 a.m. |
+ 5 |
for
First-hypehr96
|
Feb. 28, 2024, 12:13 a.m. |
+ 1 |
for Comment
trinfin: Hello, some explaining comments would be nice for newbies to understand, what you did. :-)
|
Feb. 26, 2024, 6 a.m. |
+ 5 |
for
use dict-Polundra
|
Feb. 26, 2024, 12:48 a.m. |
+ 1 |
for Comment
nahandove: The answer even looks symmetrical. Nice to read.
|
Feb. 26, 2024, 12:43 a.m. |
+ 1 |
for Comment
adamspj: Hmmm... I guess subtracting max of lists of zero works, though I'd think an if statement is clearer ...
|
Feb. 26, 2024, 12:41 a.m. |
+ 1 |
for Comment
nahandove: Clever use of mod for a set.
|
Feb. 26, 2024, 12:41 a.m. |
+ 1 |
for Comment
Nocturne13: Rahter long, but interesting one liner.
|
Feb. 20, 2024, 8 a.m. |
+ 5 |
for
8 lines proc-CDG.Axel
|
Feb. 20, 2024, 12:22 a.m. |
+ 1 |
for Comment
U.V: Bad style - line toooooooooooooo.... long Split it!
|
Feb. 20, 2024, 12:22 a.m. |
+ 1 |
for Comment
U.V: It's interesting.
|
Feb. 20, 2024, 12:21 a.m. |
+ 1 |
for Comment
U.V: "abcdefghijklmnopqrstuvwxyz"+"abcdefghijklmnopqrstuvwxyz" contains in string package **from string i...
|
Feb. 16, 2024, 7:50 a.m. |
+ 3 |
for
First-marcopunteri
|
Feb. 16, 2024, 6:08 a.m. |
+ 5 |
for
36-liner: precomputed range with priority queue-przemyslaw.daniel
|
Feb. 16, 2024, 5:35 a.m. |
+ 3 |
for
First, fully documented, great mission-Ylliw
|
Feb. 16, 2024, 5:35 a.m. |
+ 1 |
for Comment
bloodyrabbit: I'm sorry to inform you, but your code doesn't work correctly. The following call power_plants({('A'...
|
Feb. 16, 2024, 12:39 a.m. |
+ 1 |
for Comment
DDela: one line supremacy!!!
|
Feb. 16, 2024, 12:38 a.m. |
+ 1 |
for Comment
Nocturne13: Interesting one liner
|
Feb. 16, 2024, 12:38 a.m. |
+ 1 |
for Comment
DDela: one line supremacy!!!
|
Feb. 16, 2024, 12:38 a.m. |
+ 1 |
for Comment
H0r4c3: A good one-liner!
|
Feb. 16, 2024, 12:11 a.m. |
+ 5 |
for
3 shots-DiZ
|
Feb. 15, 2024, 4:53 a.m. |
+ 1 |
for Post
Problem with running code? 502 (Bad Gateway)
|
Feb. 15, 2024, 12:09 a.m. |
+ 1 |
for Comment
oduvan: Sorry for missing that. Giving you right now
|
Feb. 7, 2024, 9:54 a.m. |
+ 5 |
for
7 lines proc-CDG.Axel
|
Feb. 7, 2024, 9:54 a.m. |
+ 5 |
for
using a block table-juestr
|
Feb. 7, 2024, 2:37 a.m. |
+ 5 |
for
8-liner: Even-odd rule with origin point simplifications-Phil15
|
Feb. 5, 2024, 2:44 a.m. |
+ 1 |
for Comment
t3st3rr0rs: it is the clearest solution i saw
|
Jan. 30, 2024, 3:52 a.m. |
+ 2 |
for
First-mennadiego
|
Jan. 30, 2024, 3:50 a.m. |
+ 2 |
for
First-20210305
|
Jan. 30, 2024, 3:50 a.m. |
+ 5 |
for
Second-imloafer
|
Jan. 30, 2024, 3:48 a.m. |
+ 5 |
for
First-kdim
|
Jan. 30, 2024, 3:46 a.m. |
+ 3 |
for
recursion + cache-kdim
|
Jan. 30, 2024, 3:42 a.m. |
+ 5 |
for
rectangles + combinations-kdim
|
Jan. 23, 2024, 12:49 a.m. |
+ 1 |
for Comment
gleb10101010101: Very beautiful, thanks for sharing. I didn't no that ellipsis can be used for endless cycles)
|
Jan. 17, 2024, 7:18 a.m. |
+ 3 |
for
textwrap, justify-Olpag
|
Jan. 17, 2024, 7:18 a.m. |
+ 4 |
for
Classic-gleb10101010101
|
Jan. 17, 2024, 7:17 a.m. |
+ 3 |
for
First-trang_a2k100
|
Jan. 10, 2024, 7:08 a.m. |
+ 5 |
for
8 lines proc-CDG.Axel
|
Jan. 9, 2024, 7:57 a.m. |
+ 4 |
for
textwrap.wrap-David_Jones
|
Nov. 21, 2023, 6:08 a.m. |
+ 5 |
for
capitalize split-sergray
|
Nov. 21, 2023, 6:08 a.m. |
+ 3 |
for
slicing-joe_5588
|
Nov. 21, 2023, 6:06 a.m. |
+ 4 |
for
one-line solution-MarHar
|
Nov. 21, 2023, 6:06 a.m. |
+ 3 |
for
1-liner: compact-przemyslaw.daniel
|
Nov. 6, 2023, 8:22 a.m. |
+ 5 |
for
Simple list comprehension-Fermax
|
Nov. 6, 2023, 8:09 a.m. |
+ 4 |
for
Recursive max-Phil15
|
Nov. 6, 2023, 6:42 a.m. |
+ 4 |
for
First-mildm
|
Nov. 6, 2023, 5:04 a.m. |
+ 5 |
for
second-Tinus_Trotyl
|
Nov. 6, 2023, 4:06 a.m. |
+ 4 |
for
str.split(sep=' ')-David_Jones
|
Nov. 6, 2023, 4:03 a.m. |
+ 3 |
for
lazy & avoiding list allocation-juestr
|
Nov. 6, 2023, 4 a.m. |
+ 3 |
for
reversed, take while equal-Phil15
|
Nov. 6, 2023, 3:58 a.m. |
+ 3 |
for
~i-Phil15
|
Nov. 6, 2023, 3:47 a.m. |
+ 1 |
for Comment
H0r4c3: Nice!
|
Nov. 2, 2023, 5:02 a.m. |
+ 5 |
for
Weird-asapfrogy
|