TransWikia.com
  1. All Categories
  2. Code Golf

Code Golf : Recent Questions and Answers (Page 9)

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

Guess my password (cops' thread)

Inspired by this challenge, which got closed. This is meant to be an easier, but no less interesting version of that. This is the cops thread of a ...

Asked on 02/01/2021

35 answer

Draw the arc of a ball

Draw the parabolic trajectory of a thrown ball. The input is the ball's initial upward velocity, a positive integer v. Every second, the ball moves 1 space right and...

Asked on 01/30/2021 by xnor

33 answer

Print all alphanumeric characters plus underscore

Write a program or function that prints or returns a string of the alphanumeric characters plus underscore, in any order. To be precise, the following characters need to be output,...

Asked on 01/25/2021 by orlp

92 answer

Tic-Tac-Toe and Chess, with fewest [distinct] characters

In this form of the game Tic-Tac-Chec, the goal is to move chess pieces to get four-in-a-row. Your goal here is to figure out if a position has a winning...

Asked on 01/21/2021 by Ypnypn

2 answer

Loading... Forever

Your challenge is to make an infinite loading screen, that looks like this: Or, to be more specific:Take no input.Output Loading..., with a trailing...

Asked on 01/20/2021 by FlipTack

92 answer

Output the Partial Products

In long multiplication, after multiplying the numbers, you are left with the partial products, in this challenge you will output those partial products. Because long multiplication is long, to...

Asked on 01/20/2021 by Downgoat

17 answer

Equality up to Swapping

inputs / outputsyour program/function/routine/... will be a predicate on two tuple sequences; call it relation ≡. for the purpose of simplicity we use natural numbers:the input will be two list...

Asked on 01/19/2021

8 answer

What's the file extension?

Your challenge is to find the file extension of a provided filename:hi.txt -> txt or .txtcarrot.meme -> meme or .memelol (undefined behavior)what..is..this..file -> file or .file.bashrc -> bashrc or...

Asked on 01/15/2021 by programmer5000

92 answer

Adding fractions

Write a program or a function that takes two non-empty lists of the same length as input and does the following:uses elements of first list to get numerators,uses elements of...

Asked on 01/13/2021 by user65167

25 answer

Hexadecimal Counter

Hexadecimal is a base 16 counting system that goes from 0 to f. Your job is to make a counter that...

Asked on 12/31/2020 by phase

39 answer

Ask a Question

Get help from others!

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