TransWikia.com
  1. All Categories
  2. Code Golf

Code Golf : Recent Questions and Answers (Page 7)

Find answers to your questions about Code Golf or help others by answering their Code Golf questions.

A long long time ago, in a galaxy ... right here

TaskGiven a positive integer return the geologic era and period it was that many million years ago.Input/outputThe input is a string or integer; the output is a string. Eras and...

Asked on 10/27/2021

17 answer

Make a Ramanujan magic square

BackgroundAs you maybe know Ramanujan made this magic square by $4x4$ Matrix: This works like all magic squares.But...

Asked on 10/27/2021

8 answer

Writing erasable code

My phone number (which I will not be sharing here) has a neat property where there is a two digit number, which when iteratively removed from my phone number will...

Asked on 10/27/2021 by Grain Ghost

3 answer

XOR two strings

Given two strings as input, return the result of XORing the code-points of one string against the code points of the other. For each character in the first input string,...

Asked on 10/27/2021 by Dom Hastings

26 answer

When does hh:mm = mm.ss?

Let's begin with a thought experiment. You have a clock and a timer, in which you start the timer when the clock shows exactly hh:mm.00.Clock: The clock employs 24-hour time....

Asked on 10/27/2021 by user92069

10 answer

JFor? More like XNor

As it turns out, Python allows for 1j for to be compressed to 1jfor. However, jfor sounds like xnor. Since all similar-phonic phrases have something in common, there must...

Asked on 10/27/2021

18 answer

Find me a Tinder date!

Ah, Tinder . . . the app that takes the code golf approach to online dating. With just a few well-chosen right swipes and a bit of luck (or a...

Asked on 10/27/2021 by Dingus

5 answer

Is it a uniform polyhedron?

ObjectiveGiven a vertex figure consisting of regular convex polygons, determine whether it represents a convex uniform polyhedron.What is a uniform polyhedron?A uniform polyhedron is a polyhedron...

Asked on 10/27/2021

4 answer

Average of your code

Inspired by thisTaskYour task is to output the average character of your code.What is an average character?Say we have a string golf().We then take the ASCII value of...

Asked on 10/27/2021 by Dion

74 answer

Recover boolean cells from windowed sums

BackgroundIn Minesweeper, you will often encounter a horizontal or vertical wall of one's and two's (not yet revealed cells are marked as ?):... 1 1 1 1 2 2...

Asked on 10/27/2021

8 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP