user
A quiet enigma. We don't know anything about user yet.
Posts
See all 68 »posted 3y ago by user · edited 1y ago by trichoplax
Idea shamelessly stolen from caird and rak1507 Shuffle a subset of a list of unique, positive integers with uniform randomness, given the indices of that subset. For example, given the list $[A, B...
4 answers · posted 3y ago by user · edited 3y ago by General Sebast1an
Scala, 55 bytes (Stream from 1 map 1.0./scanLeft.0)(_+_)indexWhere _.<= Try it online! Written in a more sane manner: n => Stream.from(1).map(1.0/_).scanLeft(0.0)(_+_).indexWhere(_ &g...
posted 4y ago by user
APL (ngn/apl), 6 bytes {∇¨⍳⍵} Try it online! Dyalog APL and dzaima/APL appear to not give empty vectors for ⍳0, so I used ngn/APL. I don't know how to turn on boxing there, though, so there'...
posted 3y ago by user
Scala -language:postfixOps, 2 bytes 1& Try it online! 1 for odd, 0 for even. Scala, 3 bytes _%2 Try it online! 1 for odd, 0 for even.
posted 3y ago by user
Scala 3 and Python 3.8 (pre-release), 2 languages (385 bytes) def String():Any=0 def Int():Any=0 def f(s:String):Any=print(s.replace(chr(81),chr(34)*3+s+chr(34)*3)) class M: f("""def Strin...
posted 3y ago by user · edited 3y ago by General Sebast1an
Answering with languages newer than the challenge should absolutely be allowed Most of the time, when a language is newer than a challenge, it's just a coincidence. By not allowing people to answe...
posted 3y ago by user
Instead of the code-golf-tips tag, could we tag "Tips for golfing" questions with tips and code-golf instead? They can still be searched for, so I don't see a reason to make a special tag to repres...
1 answer · posted 3y ago by user · edited 3y ago by General Sebast1an
Reputation | 1556 | |
Number of top-level posts | 9 | |
Number of answers | 59 | |
Sum of received votes (up minus down) | 175 | |
Number of edits made | 89 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 68 | |
Questions | 4 | |
Answers | 59 | |
Articles | 5 |
Votes cast | ||
---|---|---|
Count | 321 |
Flags raised | ||
---|---|---|
Count | 0 |