Movatterモバイル変換


[0]ホーム

URL:


Code Golf Stack Exchange Community Digest

Top new questions this week:

Fast sampling of special binary strings

We are going to define a simple little language. A word in this language is a binary string where the longest run of consecutive \$0\$s, is shorter than every (maximal) run of \$1\$s. So for example:\...

mathrandomrestricted-complexity 
user avatarasked byWheat Wizard Score of 10
user avataranswered byDPenner1 Score of 3

Identify Redundant Infix Condition

Say there are three multisets A, B, C. An infix condition has form<ON|FACING|NEAR> <a multiset>whereON requires ...

code-golf 
user avatarasked byl4m2 Score of 3
user avataranswered byLuke Sharkey Score of 0

Speak in Binary

BackgroundThis video goes into ways you can humanize binary, including creating a more compact writing notation using. and| ...

code-golfbinarynatural-language 
user avatarasked byuser119818 Score of 2
user avataranswered byl4m2 Score of 1

Greatest hits from previous weeks:

Rig The Lottery, but Don't Get Caught

Edit: Please note there is currently a vote to close this coding challenge due to a complaint that it may be technically violating a decade old rule for this site. There is currently a discussion in ...

popularity-contestrandomobfuscation 
user avatarasked byAlbert Renshaw Score of 33
user avataranswered byTed Score of 23

Without using numbers, get the highest salary you can. But don't exaggerate!

As I'm applying for some jobs whose job advert doesn't state the salary, I imagined a particularly evil interviewer that would give the candidate the possibility to decide their own salary ...by "...

code-challengerestricted-sourceself-referential 
user avatarasked byNicola Sap Score of 277
user avataranswered byDoorknob Score of 123

Shortest infinite loop producing no output

Your task is to create the shortest infinite loop!The point of this challenge is to create an infinite loop producing no output, unlike its possible duplicate. The reason to this is because the code ...

code-golf 
user avatarasked byuser41805 Score of 147
user avataranswered bydaniero Score of 230

Draw an Image as a Voronoi Map

Credits to Calvin's Hobbies for nudging my challenge idea in the right direction.Consider a set of points in the plane, which we will call sites, and associate a colour with each site. Now you can ...

popularity-contestgeometryimage-processing 
user avatarasked byMartin Ender Score of 169
user avataranswered byorlp Score of 113

Pennies to Dollars

Over on Puzzling a couple years ago, Hermant Agarwal proposed the following question:In a certain country the following coins are in circulation: 1 cent, 2 cents, 5 cents, 10 cents, 20 cents, 50 ...

code-golfarrayintegerinteger-partitions 
user avatarasked bycaird coinheringaahing Score of 13
user avataranswered byGreg Martin Score of 5

Write Moby Dick, approximately

Here is a 1.2Mb ASCII text file containing the text of Herman Melville's Moby-Dick; or, The Whale. Your task is to write a program or function (or class, etc. -- see below) which will be given this ...

code-challengeoptimizationcompression 
user avatarasked byN. Virgo Score of 322
user avataranswered bydaniero Score of 155

Print 4 billion if statements

Recently (okay, December 2023, I'm a little late) there's been a meme going around about a program checking if a 32-bit unsigned integer is even or odd using four billion if statements:...

code-golfintegeropen-ended-functioncode-generation 
user avatarasked byemanresu A Score of 33
user avataranswered byxnor Score of 17
You're receiving this message because you subscribed to the Code Golf community digest.
Unsubscribe from this community digest     Edit email settings     Leave feedback     Privacy
Stack Overflow

Stack Overflow, 14 Wall Street, 20th Floor, New York, NY 10005

<3

[8]ページ先頭

©2009-2025 Movatter.jp