TransWikia.com
  1. All Categories
  2. Code Golf

Code Golf : Recent Questions and Answers (Page 5)

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

Counting painted sides of cubic shapes

Sandbox Many of us have seen math problems where a shape made of unit cubes is dipped in paint, and the answer is the number of painted sides. We'll...

Asked on 10/27/2021 by Don Thousand

7 answer

Tents and Trees feasibility

Sequel to Verify Tents and Trees solution.BackgroundTents and Trees (try here) is a puzzle played on a square (or rectangular) grid, where the objective is to place...

Asked on 10/27/2021

2 answer

Which languages are optimal for problems that require "reading" input while also writing to it like a stack

When encountering a problem whose input is meant to be read sequentially, but you may also want to push back onto the input like a stack, which languages have the...

Asked on 10/27/2021

1 answer

Are These Scores Possible?

BackgroundIn the sport of Table Tennis (aka Ping-Pong or Whiff Whaff), two opponents play a sequence of rounds, where each round consists of players hitting a ball back and forth...

Asked on 10/27/2021

12 answer

Count The Genus

ObjectiveGiven a matrix of connected box drawing characters, count its genus, the number of plane sections it encloses.Valid inputThe box drawing characters are ─│┌┐└┘├┤┬┴┼╴╵╶╷ (U+2500 U+2502 U+250C...

Asked on 10/27/2021

3 answer

Shortest Floor Function

Your task is to implement a floor function in as few bytes as possible. A floor function is a function that takes a real number and returns the largest integer...

Asked on 10/27/2021

42 answer

Convert from base 10 to base 2 without built-in base conversions

Background:You have been given an assignment to convert base 10 numbers to base 2 without using any premade base conversion functions. You can't use any imported libraries either.Problem: Convert an...

Asked on 10/27/2021

32 answer

Write an interpreter for my esoteric language Jumper

I have thought up esoteric language Jumper. Later you will see why.It operates with random-access-memory with bytes as cells. RAM is zero indexed and initially filled with zeros.When trying access...

Asked on 10/27/2021 by Somnium

11 answer

Verify Magic Square

A magic square is a square array of numbers with side n consisting of the distinct positive integers 1, 2, ..., n² arranged such that the sum of...

Asked on 10/27/2021 by user10766

12 answer

Alignment on Triangular Grids

Hexagonal grids have been become a fairly popular twist for challenges about 2-dimensional data recently. However, it seems that the equally interesting triangular grids have been largely neglected so far....

Asked on 10/27/2021

3 answer

Ask a Question

Get help from others!

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