TransWikia.com
  1. All Categories
  2. Code Golf

Code Golf : Recent Questions and Answers (Page 10)

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

Dissect a word and arrange all its letters in alphabetical order

Question Write a program to accept one string on the console only and print back its letters arranged in alphabetical order. The string must only have the following characters: 0123456789abcdefghijklmnopqrstuvwxyzRules...

Asked on 12/22/2020 by Riley Jones

13 answer

The Rien Number

The Champernowne constant is a number that is constructed by concatenating the first n numbers, with n tending to infinity. It looks something like this:0.123456789101112131415161718192021222324252627282930...Now, I will describe to...

Asked on 12/21/2020 by Conor O'Brien

39 answer

How many threes?

In this task your code will be given an integer $n$ as input. Your code should then output the greatest number of multiples of $3$ that can...

Asked on 12/21/2020

24 answer

Return the nth digit of the sequence of aliquot series

0. DEFINITIONSA sequence is a list of numbers.A series is the sum of a list of numbers.The set of natural numbers contains all "non-negative integers greater than zero"....

Asked on 12/21/2020

13 answer

Fibonacci Exponents

For this challenge, you are to output the result of the sum of some numbers. What are these numbers? Well, you are given input, (a, b), which are integers (positive,...

Asked on 12/20/2020 by Anthony Pham

24 answer

Does base n have any Rotate-Left-Double numbers?

TaskA Rotate-Left-Double number in base $n$ is a number $m$, when its base-$n$ digits are rotated left once, equals $2m$. The base-$n$ representation of ...

Asked on 12/17/2020

12 answer

Mountain range numbers

Mountain range numberA number is a mountain range number if the inequalities satisfied by their consecutive digits alternate. In a way, looking at the number's digits should exhibit a ///......

Asked on 12/15/2020 by RGS

25 answer

Calculate pi to 5 decimals

This comes from http://programmers.blogoverflow.com/2012/08/20-controversial-programming-opinions/ "Given that Pi can be estimated using the function 4 * (1 – 1/3 + 1/5 – 1/7 + …) with more terms giving greater...

Asked on 12/14/2020 by nos

30 answer

Add a language to a polyglot

This is an answer-chaining challenge in which each answer builds on the previous answer. I recommend sorting the thread by "oldest" in order...

Asked on 12/12/2020 by user62131

296 answer

ASCII art Bresenham line drawing

Write the shortest possible program that draws a Bresenham line in ASCII art. Your program should take two integers x and y (command line or stdin, your choice) and...

Asked on 12/06/2020 by Keith Randall

5 answer

Ask a Question

Get help from others!

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