Linked Questions
10 questions linked to/from Play the "bzzt" game
7
votes
8
answers
649
views
1, 2, 3, 4, 5, Shaggy [duplicate]
This is my first code golf exercise for you:
Your input is two integers n and k. You can assume n >= 1 and k >= 1
You have to output all numbers from 1 to n (inclusively) and replace every element ...
326
votes
177
answers
138k
views
Tips for golfing in Python
What general tips do you have for golfing in Python? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Python (e.g. "remove comments" is ...
65
votes
125
answers
17k
views
Duck, duck, goose!
Remember the kids game, 'Duck, Duck, Goose'? No? Me neither.
The challenge
Print the word 'duck' on individual lines an indeterminate amount of times.
Print the word 'goose'.
Your program ends.
The ...
89
votes
57
answers
12k
views
BrainF***edBotsForBattling - A Brainf*** Tournament
All bots at the battle arena suddenly got brainfucked and no one can explain why. But who cares as long as they are still able to fight - although Brainfuck is the only language they understand ...
57
votes
59
answers
6k
views
+200
Count without 3
Background
When I was in elementary school, we used to play a game in math class that goes as follows.
All kids sit in a big circle and take turns counting, starting from 1.
However, the following ...
44
votes
56
answers
8k
views
Don't give me five!
Question :
You will be given the starting and ending integers of a sequence and should return the number of integers within it which do not contain the digit 5. The ...
17
votes
24
answers
6k
views
Generate me some appropriate license plates!
The scenario: You are a software designer working for a gov't-run company that designs license plates for cars and other vehicles. You've been asked to develop software that generates license plates. ...
20
votes
8
answers
2k
views
Build a "BizzFuzz" program
In traditional FizzBuzz, you are asked to print the numbers from 1 to 100, but replacing every multiple of 3 with "Fizz", every multiple of 5 with "Buzz", and every multiple of both 3 and 5 (i.e. 15) ...
7
votes
2
answers
370
views
Tips for golfing in MathGolf
What general tips do you have for golfing in MathGolf? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to MathGolf (for tips which can be ...
0
votes
0
answers
79
views
Let's play the boom-game! [duplicate]
back ground
in my country we had a silly game as kids, called 7-BOOM! The rules are really simple. We counted 1,2,3... each time we had a number that one of his digit is 7 or it is a multiply of 7 ...