AndrewTheCodegolfer
I make challenges. I'm from Serbia, he/him.
Posts
See all 38 »Outsourcing the answer to unofficial conditions An example would be a program to print the Fibonacci numbers: instead of actually computing them, it queries an API and gives back its output. Anoth...
posted 3y ago by AndrewTheCodegolfer · edited 3y ago by AndrewTheCodegolfer
Get ready for a comparatively dry question - this is intended to be one of the "the"s of the code-golfing dictionary. Create a program which inputs a base 10 non-negative whole number (without lea...
16 answers · posted 3y ago by AndrewTheCodegolfer · last activity 2y ago by Olin Lathrop
Programs may take input from prompts from the GUI For Mathematica, JS, Matlab, et. al. this is the closest thing they have to STDIN.
posted 3y ago by AndrewTheCodegolfer
Using the lack of features in a language to trivialize the problem For example, in a challenge which requires your program to check if it is connected to the internet, using Brainfuck to always pr...
posted 3y ago by AndrewTheCodegolfer
Functions may take multiple arguments with currying For some languages like Haskell this is almost a necessity, as only one-argument functions exist and multi-argument functions are implemented wi...
posted 3y ago by AndrewTheCodegolfer
Interpreting the challenge too literally If the challenge asks that you print the nth prime given input n, a program printing the nth prime given input n isn't allowed.
posted 3y ago by AndrewTheCodegolfer
Regex, 8 bytes [02468]$ Matches strings ending in one of 0, 2, 4, 6, 8. [13579]$ is equivalent but with opposite outputs. Try it on Regex101!
posted 3y ago by AndrewTheCodegolfer · edited 3y ago by AndrewTheCodegolfer
Using your languages of choice, golf a quine - a non-empty program taking no input and only outputting its source. Here, the win condition is your quine working in the most languages. It should be...
1 answer · posted 3y ago by AndrewTheCodegolfer · last activity 3y ago by General Sebast1an
In languages without STDIN (eg ///) programs may input through insertion into the source code Also applies to cellular automata, in which the most natural way of taking input is specifying some sp...
posted 3y ago by AndrewTheCodegolfer · edited 3y ago by AndrewTheCodegolfer
Regexes may output via the list of matched strings (capture group 0)
posted 3y ago by AndrewTheCodegolfer
Multiple URL shorteners in a web-based challenge In challenges which require fetching data from the Internet, URL shorteners can be problematic. This is because: shorteners made after the cha...
posted 3y ago by AndrewTheCodegolfer
Write the shortest program that takes no input and outputs a Sudoku solution. For reference, a Sudoku solution is a 9x9 grid of digits where each column, each row and each of the nine 3x3 grids th...
4 answers · posted 3y ago by AndrewTheCodegolfer · last activity 3y ago by Shaggy
Using inconsistent I/O An example would be a program whose only two outputs given some input can be 2 and 11. The program is print(11): claiming that it outputs in unary for some outputs and in de...
posted 3y ago by AndrewTheCodegolfer
Optimizing specifically for the given test cases Applies to "code-speeding" or fastest-code where your program must run as quickly as possible, as well as compression challenges. Obviously, there ...
posted 3y ago by AndrewTheCodegolfer
ROBBERS' THREAD A famous cops-and-robbers challenge whose source shall remain unnamed is brought to Codidact. You are a cop. You should write a program in a "famous" (has an English Wikipedia/Eso...
16 answers · posted 3y ago by AndrewTheCodegolfer · last activity 3y ago by Shaggy
Reputation | 1700 | |
Number of top-level posts | 8 | |
Number of answers | 30 | |
Sum of received votes (up minus down) | 166 | |
Number of edits made | 26 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 38 | |
Questions | 8 | |
Answers | 30 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 32 |
Flags raised | ||
---|---|---|
Count | 0 |