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

12:11 AM
It took me an eternity to find a (theoretical) counter-example which your algorithm will fail: tio.run/##y0rNyan8/9/l8LJk/f///… (the 108 in the middle messes up your algorithm) — Leaky Nun 1 min ago
 
12:30 AM
I wrote an answer for a challenge. DJ then golfs me and I get 0 and he gets +5????
 
@Christopher2EZ4RTZ c'est la vie
 
Such are the fates.
 
That wasn't a translation, that was a comment. C'est la vie means "Such is Life"
 
12:32 AM
1
Q: Decomposing into primes

bushdid911Given an integer n, return the number of ways that n can be written as a list of prime numbers. For example, 2323 can be written as (2,3,23), (23,23) or (2,3,2,3) or (23,2,3), so you would output 4. If it can not be written in this way, you should output 0. A prime number such as 019 or 00000037...

 
got a 93 on my AP calc exam! :D
@ATaco ah
 
@Christopher2EZ4RTZ nice
 
@LeakyNun ty
 
@Christopher2EZ4RTZ you don't get percents on AP tests?
 
(cc @PhiNotPi) QPC news: medium.com/rigetti/…
 
12:41 AM
@Downgoat exam not final
 
@mınxomaτ I actually didn't really expect ML applications for quantum computing.
 
@DJMcMayhem why is voting culture like this?
I can't earn rep on PPCG.
 
@Christopher2EZ4RTZ "This"? I don't understand...?
 
@user202729 he golfed me and i get nothing and he got +5
he did good but still odd
 
12:56 AM
I guess 1 DJMcMayhem get the first vote and 2 the answers that is already on the top should have more votes. (1) is fair, but (2) is somewhat unfair, [good answer on the top get more votes] is good but [answers that take effort but not on the top may not get upvotes] is not good.
 
1:19 AM
yeah
 
@Christopher2EZ4RTZ I didn't shorten your code. I wrote my version from scratch
 
@DJMcMayhem ahh
 
And it was 50% of yours and had an explanation, so that might explain the votes
 
idk
i think people like you more
;P
 
Does anyone know a shorter way to check primes here?
 
1:31 AM
@WheatWizard Ask your [REDACTED]
jk
 
That is the shortest method on the Is this number a prime
 
@H.PWiz But that question does not require handling zero, I need to handle zero
@LeakyNun Huh?
 
@WheatWizard that's three letters there
 
Now I'm even more confused
 
it's supposed to say one of your parents
 
1:35 AM
@WheatWizard p x=[1|0<-map(mod x)[2..x]]==[1]
 
Oh ok, I must be missing something
 
@H.PWiz x mod?
 
@H.PWiz Wow that's pretty cool.
 
@LeakyNun mod is prefix
 
oh
how can that be missed
 
1:38 AM
Also @WheatWizard, have you seen this?
 
No somehow I missed that. I'll take a look
That's a pretty cool trick you have there
I'll have to put that one in my back pocket
 
:O @WheatWizard's profile pic isn't horible
 
Oh it's not
well I'll have to change it then
 
Well, it's pretty flammable. But that's about it.
@WheatWizard ಠ_ಠ
 
Anyone have some interesting but easyish questions I could use to practice my prolog?
 
1:50 AM
@WheatWizard did I hear prolog o/
 
Yes, I started golfing in prolog yesterday.
 
find the end of a list
check if a list is a palindrome
reverse a list
 
@LeakyNun 29 bytes
@LeakyNun 45 bytes
@LeakyNun 45 bytes
That was fun
 
2:06 AM
@ATaco I fixed the chat commands ಠ_ಠ bug, for real this time: github.com/TehFlaminTaco/TacosUserscripts/pull/19
 
2:38 AM
I've actually had a fix for that waiting for a while now, just never got around to pushing it.
 
@ATaco Thank you
 
3:15 AM
Woot, got it working ಠ____ಠ
Yay ಠ____ಠ
 
3:45 AM
0
A: Sandbox for Proposed Challenges

NeilLet's write a Minifier code-golf Background Minifiers are used, commonly, when serving JavaScript to your Web Browser. It is commonly used to reduce the number of bytes that have to be sent. Saving bandwidth is useful for obvious reasons. Some people use obfuscaters (that intentionally ma...

 
 
2 hours later…
5:35 AM
Just got my gold badge! \o/
 
-3
Q: How do calcs solve equations?

John AoI know most equations can be easily solved by Newton's method, and that is how most calculators work. But how do they know the derivative of the given equation? Is there a built-in library or some other alternatives?

 
I'm 500rep away :D
 
@ATaco You'll get it next Winter Bash. ;)
wait, do you mean 500 votes or 500 rep?
Yeah, 500 votes.
 
(Yeah, votes, Whoops)
 
 
2 hours later…
7:54 AM
-3
Q: Shortest Node.js one-liner to dump result of HTTP GET request

Dan DascalescuRequirements: Must make an HTTP GET request to icanhazip.com Must dump the response body to STDOUT Must not display any extraneous output, except whitespace Can use any npm module The length of the one-liner will include everything from node to the end of the command line.

 
8:24 AM
0
A: Sandbox for Proposed Challenges

CharlieCan a letter fit inside the other? code-golf (Help needed to find more tags.) Do you remember my mat properly grouped by colors? Yesterday I was looking at it and realized that some letters fit inside others. Example: a letter P fits in the place where the letter R goes. So here's a simple c...

 
9:03 AM
@WheatWizard I like this one
I like how you didn't use imperative mindset :P
@WheatWizard where's the palindrome?
@WheatWizard in encoding A: 0 is [], n+1 is n++[n]; in encoding B: 0 is [], n+1 is [n]; convert from A to B and vice versa (with the same sentence)
++ means append
 
9:39 AM
@Zacharý Objects (Classes specifically) + Functional = What the heck were you thinking. I guess I won't tell you about Clean's inline assembler...
 
9:50 AM
0
Q: How many calendar facts are there really?

AJFaradayI LOVE todays XKCD! https://xkcd.com/1930/ You can probably already tell what the puzzle is. Write some code to work out all of the possible routes through this data structure, move left-to-right, follow the line back. make a decision at each split. Don't repeat any complete calendar fac...

 
10:25 AM
Definitely turning this into a challenge after it's answered.
 
10:41 AM
Don't.
 
11:16 AM
Actually I think it's more suitable for computer science SE...
Oh, new secret hat! Why isn't it loaded here...
Ok, finally loaded.
 
Aww I like fastest code challenges.
 
This one is too easy to do... IMO.
 
Disappointing but true.
 
11:48 AM
I got 3 "and you get a hat" already... (somewhat) right after getting another hat.
Is there filter for accepted question in SE?
Looks like I found the solution...
 
12:25 PM
@LeakyNun If I'm being perfectly honest it looks like I forgot to do palindrome. If I'm being cheeky I'll tell you that reverse(X,X) is the same as palindrome(X).
 
12:42 PM
0
Q: How many calendar facts are there really?

AJFaradayI LOVE todays XKCD! https://xkcd.com/1930/ You can probably already tell what the puzzle is. Write some code to work out all of the possible routes through this data structure, move left-to-right, follow the line back. make a decision at each split. Don't repeat any complete calendar fac...

 
@Adám Huh...? What do you want to say?
The "This question has been re-posted as code-golf"? But people don't seem to like it...
 
@user202729 Yeah, wrong link there. Sorry.
@user202729 Comment-less downvotes…
-1
Q: XKCD Calendar Facts

AdámInspiration. Posted with permission. Print one of the possible XKCD calendar "facts": You can get the raw text and structure from my APL reference implementation or from Explain XKCD's transcript (including the title text just under the illustration). Rules At every decision node, there mus...

 
-1
Q: XKCD Calendar Facts

AdámInspiration. Posted with permission. Print one of the possible XKCD calendar "facts": You can get the raw text and structure from my APL reference implementation or from Explain XKCD's transcript (including the title text just under the illustration). Rules At every decision node, there mus...

 
@WheatWizard (mini ad): Have you seen my explanation? :)
Do you have any suggestion how to improve it?
 
1:57 PM
Any idea why I can't import a Python file in the same directory?
For example file jelly contains import jelly and there is a file jelly.py in the same directory. I run file jelly with command python jelly.py. (Windows 10, Python 3)
 
0
Q: Determine Superabundance

Stephen LeppikA superabundant number is an integer n that sets a new upper bound for its ratio with the divisor sum function σ. In other words, n is superabundant if and only if, for all natural numbers x that are less than n: For a few of the values: n σ(n) σ(n)/n superabundant 1 1 1.0000 y...

 
sys.path.append('.') works... no idea why.
 
2:19 PM
you on windows?
if so you might want to check PYTHONHOME
 
0
Q: Is it allowed to take input by repeatedly call a function?

l4m2In C, to sum up some numbers, can do: *X;f(x,n){X=x;x=0;while(n--)x+=*X++;} // not sure if return the answer, assuming it does input a pointer x and the length n But can also be done by n;f(x){n+=x;} #define g(d)d=n,n=0 // 4 bytes shorter input by repeatedly call f, once a value, then ca...

 
3:15 PM
CMC: Given a list of non-negative integers, return those that are equal to the number of times they occur. E.g. 5 5 2 1 5 3 2 5 3 2 4 4 4 3 4 gives 1 3 4
 
@Mr.Xcoder 360360.
(can't get it to run on TIO because Jelly is not very effective)
 
Anonymous
@Adám Are repeats in the output allowed? e.g. [1, 3, 3, 3, 4, 4, 4, 4]?
 
@Mego no.
 
@user202729 So Æs÷$ÐṀṪ= is invalid too?
 
Anonymous
@Adám Actually, 10 bytes: ;╗⌠;╜c=⌡░╔
 
3:20 PM
@Mr.Xcoder What is that box?
 
What box?
Because, technically, it doesn't set any new record.
 
Anonymous
 
aww, that invalidates my answer
 
Strange, no box here
 
3:22 PM
⁼W would probably work.
 
... =W suffices
 
But = vectorises, does not.
 
⁼W.. you edited
 
@Mr.Xcoder Shows as a different box for me --
 
Something is wrong here...? Let me check.
 
3:23 PM
Strange
 
It's unicode 8.
 
ಠ_ಠ I didn't put any box in there
 
(character... backspace or beep?)
 
@Adám APL, 12 bytes
 
3:25 PM
Ok, it's backspace.
@Mr.Xcoder Try pressing backspace when the box is empty then type something and send.
My Alt+numeric 8 gives .
 
testing
Huh, doesn't work
 
@dzaima ∊=∘≢⌸⊆∪
 
@AdmBorkBork Oh well... weird.
But attacking SE server (with Jelly dictionary for example) is definitely not a good idea.
 
Very weird, even for winter bash
 
3:32 PM
@AdmBorkBork That answer is amazing. It actually works :P
 
:o I got a secret hat
idk how I got it lol
 
Me too...
 
oh huh I also got the candle one
I don't even know what I did to get it :P
I guess it remains a secret for me :P
 
The candle is for posting anything today
 
@HyperNeutrino Do anything on the site today or tomorrow
 
3:35 PM
oh what lol
oh that would actually make sense
 
89
A: Winter Bash 2017 Hats

EranSecret Hats Click on each of the hats for a larger image. Ooh, Shiny! Cosmic Brain Galaxy Brain Universe Brain Rep Cap Mother of Dragons Row Of Many Candles

 
oh there's that thing? cool
 
Anonymous
@WheatWizard Why do you insist on having the strangest avatars? :P
 
@flawr Nice.
 
has there been Line Tag (or related) KoTH challenge yet?
 
Anonymous
3:37 PM
@user202729 Well, your problem is that you're running jelly.py and not jelly.
 
@Mego Pavel told me this one was normal. Obviously I'm doing something wrong
 
I was thinking of making a line-tag KoTH challenge because why not. I don't think a similar thing has been done yet but I could be wrong, there are a lot of KoTH challenges
 
I liked you very first avatar
 
The BrainFlak one was great
 
@Adám I can't understand how that works :/
 
3:40 PM
I still associate WW with the brain-flak one
 
Can I force C code to execute faster with a command line flag?
 
@Mego I'm sure that I'm running jelly...
 
@Mr.Xcoder -O3?
 
Thanks, that's it
 
wait you can just tell C "be faster"? o_O
 
3:42 PM
-Ofast too.
 
@dzaima {({⍺=≢⍵}⌸⍵)/∪⍵}{(=∘≢⌸⍵)/∪⍵}{∊(=∘≢⌸⍵)⊆∪⍵}∊=∘≢⌸⊆∪
 
But often it's not really faster.
 
@HyperNeutrino It takes longer to compile, but the binaries are sometimes a little faster
 
(often -O2 is enough)
 
ಠ_ಠ Riker's catching me in hats
 
3:43 PM
@user202729 ;-; I used -O(fast) I am so dumb ;-;
 
Anonymous
@user202729 You said you invoked jelly with python jelly.py. If I'm understanding correctly, you have two files in the directory: jelly and jelly.py, and you are trying to do import jelly to import jelly.py. Is that correct?
 
No, I invoked jelly with python jelly.
And yes.
 
I think you should do ./jelly but that might be an OS-specific thing
 
Anonymous
So you invoke python jelly to run jelly, and inside of that file, you're doing import jelly to import jelly.py?
 
# Ok, I don't know why, but it works.
import sys
sys.path.append('.')
 
Anonymous
3:45 PM
Try from . import jelly
 
Anonymous
(note: relative imports are literally Satan - use modules instead)
 
@Mego I had a solution that worked anyway...
I get this (hat) on PPCG now.
 
Anonymous
@user202729 Manually adding the current directory to sys.path is not a good solution. I'm just trying to educate you for the future :)
 
That doesn't help either iirc.
Ok, it indeed doesn't work. ImportError: cannot import name 'jelly'
 
Anonymous
3:48 PM
The best-practices way is to add a blank __init__.py file inside of the directory and do import whatever.jelly as jelly
 
Anonymous
(where whatever is the name of the directory)
 
import jelly.jelly as jelly
Traceback (most recent call last):
  File "jelly", line 7, in <module>
    import jelly.jelly as jelly
ModuleNotFoundError: No module named 'jelly'
 
Anonymous
I don't remember if you need it to be a subdirectory if the first instance of the module being loaded is from inside of that directory...
 
Doesn't work either. (the folder name is also jelly)
 
@Adám ah, I kept thinking that was used monadically. is new to me either way
 
Anonymous
@user202729 Try sudo mv /* jelly to increase the number of name collisions. Eventually it'll wrap back around and work.
 
On the positive side, the link is only called once, so Ɠ will work.
@Mego I use Windows, I have neither sudo nor mv.
 
Anonymous
@user202729 ren C:\* jelly
 
Anonymous
(don't actually run that)
 
(people (NieDzejkob , Pavel IIRC) complains a lot about me using Windows, but I can't figure out how to install Linux, and I don't want to use USB/CD for that)
@Mego You will get a lot of A duplicate file name exists, or the file cannot be found. anyway...
 
Anonymous
3:54 PM
There used to be a way to install Ubuntu alongside Windows, by running an installer within Windows (wubi). It's not supported anymore.
 
Also tested, failed probably because NTFS.
 
I have linux installed, but I'm just too lazy to switch to it :p
 
Anonymous
@dzaima Same
 
Anonymous
@user202729 There's not really a way to install Linux other than by using a LiveCD or LiveUSB. You could use VirtualBox with a virtual hard drive that is mapped to a new partition on your hard drive and install it that way, but it's potentially very messy.
 
Anonymous
It probably wouldn't detect your hardware correctly, leading to all sorts of fun issues if you try to actually boot that partition.
 
Anonymous
3:59 PM
Also GRUB wouldn't get installed correctly
 
4:30 PM
@dzaima Maybe review lesson 7?
 
@Adám yeah, I did that as soon as I saw that character :p
 
@dzaima Cool. But that means I didn't explain it thoroughly enough. This usage is unusual, and I didn't realise it could be (ab)used like this until I saw it in the Autumn CodeGolf Marathon. Maybe it it will help you to watch my walk-through:
 
4:53 PM
I've only gotten 8 gold badges total but one of them just so happened to arrive during winter bash so I get a hat :)
 
@WheatWizard hmm?
 
5:16 PM
@WheatWizard nice
@WheatWizard are you doing my challenge :P
 
@LeakyNun I have to go shopping. I think I understand your challenge so I can think of it while I'm on my bike
 
ok
 
@LeakyNun Whenever you have ∘.= you should check if will do it for you.
 
@LeakyNun So its vonNuemann ordinals vs nested ordinals?
 
@WheatWizard ya, something like that
 
5:39 PM
CMMC (Chat-mini-math-challenge): Prove there doesn't exist any integer N higher than 30 which satisfies tau(N)=phi(N). Whereas tau(N) = card({x in Z | x in [1, N] and N % x = 0}) and phi(N) = card({x in Z | x in [1, N) and gcd(N, x) = 1}). IOW, prove that no integer higher than 30 can have the totient equal to the count of divisors.
 
hmm
 
Did I commit any mistake in my function definitions?
 
no, I'm just thinking
 
I wasn't referring to your hmm :P
 
we do have formulas for phi and tau
they are both multiplicative
dirichlet convolution anyone?
 
5:44 PM
I was planning to post a challenge regarding that but I ran into this... And OEIS confirms (so RIP)
 
lol
 
Hey guys, any regex wizards around? I'm stumped with an expression I can't get figured out here
 
@J.Sallé just ask
so phi*1 = id, 1*1 = tau
hmm, not helping
 
The proof is in their "Comments" field here. (Beware of spoilers)
 
oh so you already know it
 
5:47 PM
I just found it
 
phi = id*mu, tau = 1*1
 
@LeakyNun I've got a string that's like digits, digits, nondigits and I need a regex to match that , nondigits part, but I can't seem to get it figured out. Most I got was (,(?:\s\D*)*), but that also matches the first ,
 
@LeakyNun You asked for something to prove a couple of months back IIRC, here you have it :D
 
Any C golfing experts here? I'm looking for ways to golf this but I can't find any more
 
doesn't look like you can do any C tricks to golf that
might be a way to comprss the string though
 
5:49 PM
@J.Sallé ,\D+$
 
Hi, @LeakyNun. How's life in UK? Enjoying studying maths?
 
@Riker Hmm, how's that? Most decompression algorithms in C are a lot of bytes
 
But their proof is really not very rigorous.
 
@LuisMendo sure
 
@MDXF no clue
that's the only real long section of the code though
 
5:50 PM
@LeakyNun golf your code, not your comments
 
@J.Sallé \d+?, \d+?(, .+?)$
assuming nondigits goes until the end of the line
 
@LeakyNun that simple, huh? Thanks a lot man, you just saved me and my boss :p
 
or that works too
 
@J.Sallé no problem
 
@LuisMendo Nice hat! (the 100th upvote on that answer might have been mine when I was trying to get a hat myself and ran into that masterpiece :D)
 
5:51 PM
@Riker Leaky's solved it, but thanks anyway
 
Hi @Cowsquack. Long time no see :D
 
hi, I've been busy with schoolwork for the past months
 
@Riker I think you can golf by removing the ? in \d+?
 
@LuisMendo that's quite readable for me, he didn't say ¡ɦẠ :p
 
5:59 PM
@Mr.Xcoder Yes, it means that elements that are sorted by the same value end up in the same order
So if you sorted something like [a:1, b:2, c:1, d:3], you would never end up with c:1 before a:1 (if you're sorting by the numerical value)
 
got it
 
@DJMcMayhem Not entirely sure why that got so many stars...
 
stars are unpredictable
3
 
Dec 14 at 19:52, by Pavel
Nov 12 '15 at 22:26, by Doorknob
okay seriously stop abusing stars
 
@Cowsquack likely yes
can be golfed more w/ [\d,]+ I think
 
6:04 PM
@Mr.Xcoder Haha thanks. It got me two hats. And a gold-badge :-D
@EriktheOutgolfer :-D
 
Yeah now I am frustrated that I cannot get the Universe Brain since my top answer stagnates at 92 :'-(
 
@Mr.Xcoder my top answer is at 59 :p
I have less of a chance than you
 
My second top answer is at 60 :P
 
we should start a kickstarter to upvote somebodies 1-score answer to 100
 
-1 not really constructive
 
6:20 PM
Does anyone here have a Bitfinex account?
 
@Riker done
 
tau : p^n |-> n+1
phi : p^n |-> (p-1) p^(n-1)
I think tau should be quite less than phi
 
@Christopher2EZ4RTZ are you serious
 
@Mr.Xcoder
 
I was joking
>_>
 
6:26 PM
so was i >_>
 
ok good
 
@LeakyNun phi >> all other numbers
 
@PhiNotPi especially pi?
 
@Riker got played like a fiddle
 
@LeakyNun Nice
You summoned Phi :D
BTW nice hat, Leaky
 
6:29 PM
thanks
CMC: rotate a list to the left ([a,b,c,d] -> [b,c,d,a])
 
@Mr.Xcoder my best is 49
:|
 
@LeakyNun .<Q1 (Pyth, 4 bytes)
 
@LeakyNun 1∘⌽ in APL or 1&|. in J
 
@LeakyNun 05AB1E, 1 byte À
 
6:32 PM
do it in brain-flak :P
 
@Mr.Xcoder :o
 
@LeakyNun PowerShell, 20 bytes
 
@LeakyNun Definitely not shamelessly stolen :P
 
6:34 PM
@LeakyNun Can we assume that all inputs are positive?
 
@DJMcMayhem sure
 
@Mr.Xcoder I KNEW IT
@DJMcMayhem do you have a bot that pings you when brain flak is mentioned?
 
Argh 16 comments on one of my answers and really none of them is constructive
 
what answer?
 
@Christopher2EZ4RTZ Why, are you going to go be #17? ;-)
 
6:35 PM
Determine Superabundance in Jelly
 
@Mr.Xcoder @LeakyNun Brain-flak, 30 bytes: Try it online!
 
@Mr.Xcoder if you think so then flag
 
@DJMcMayhem +1
 
Thank you haha
 
@AdmBorkBork yes
 
6:36 PM
um, don't those rotate to the right
 
@Christopher2EZ4RTZ I flagged your comment as "No longer needed" because it is chatty and otherwise unnecessary.
 
@DJMcMayhem can you explain that for me? I have needed that before but don't understand how it works
@Mr.Xcoder what comment?
 
@Christopher2EZ4RTZ OK, but just FYI, it's probably not very useful in a general sense. It isn't stack-clean and doesn't handle 0's
 
@Christopher2EZ4RTZ wonder which... ಠ_ಠ
 
i work fast
@DJMcMayhem oh :P
 
6:38 PM
@DJMcMayhem I've seen that phrase "stack-clean" a lot and don't know what it means.
 
@AdmBorkBork it doesn't mess up the stack
i.e. stack is back to what it was before the program was run
 
Not quite
 
@AdmBorkBork it means that it doesn't affect what is not its business
 
@AdmBorkBork for example w/ multiplication, it doesn't affect any data that's not the input and is under the input
IIRC
 
6:40 PM
@Riker ಠ_ಠ then that operation is a no-op
 
@Mr.Xcoder well, output and leaving the result on top as output doesn't count imo
 
1 2 3 4* -> 1 2 12, * doesn't affect further than 2 inputs for example
 
Exploiting loopholes \o/ :P
 
@AdmBorkBork If you had a multiply snippet, it would be stack clean if 1) it pops only the two values that it's multiplying, and pushes their product onto the same stack, 2) Works regardless of how many additional values are on the stack (and their values), and 3) Doesn't affect the other stack in any way
 
Gotcha. Thanks for the helpful replies, everyone.
 
6:41 PM
@DJMcMayhem is 1 required as long as it doesn't affect the stack after it ends
 
Which part of 1?
 
> it pops only the two values
 
I guess a better definition would be The number of inputs consumed, the stack the inputs are consumed from, the number of outputs produced, and stack the output is placed on are all constant regardless of the number of inputs available.
@EriktheOutgolfer Oh, wait. Do you mean it can pop more than just the two inputs but still leaves the state fine?
 
Yeah, there's no problem with that
However, if you only have 2 inputs, and you're popping stuff underneath them and then returning it, it could push an additional 0
If you pop the empty stack. Does that make sense?
 
6:44 PM
isn't that affecting the stack in any way
 
Yes, in which case it would not be stack clean.
So here's a concrete example. ({}{}<({})>) will sum a+b, and it will also peek at c. That's fine and stack clean if there are at least 3 inputs. But if there's only 2, you'll end up pushing an additional 0 that wasn't there
 
wrong link :P
 
@DJMcMayhem you can't do that in brain-flak
 
@Christopher2EZ4RTZ Just posted an explanation in TTS
@EriktheOutgolfer You can't do what?
 
pop extra items without affecting the stack
 
6:50 PM
It does work with three inputs
 
well, it would affect the stack if there are only 2 items
 
Yes, that's my point
 
0
A: Sandbox for Proposed Challenges

RamenChefPrimes ’n’ digits (working title) code-golf primes This has no practical purpose but it could be fun to golf. Challenge Given a number n, Count the amount of each digit in n and add 1 to each count Take the prime factorization of n Count the amount of each digit in the prime factorization...

 
@EriktheOutgolfer Challenge accepted
Pushes a+b, peeks at c, and doesn't mess up the stack if there are 2 only inputs
 
@DJMcMayhem ackermann
 
6:59 PM
wat
 

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