Comments on Default Rules: Code Golf I/O
Parent
Default Rules: Code Golf I/O
What input/output methods do you think should be allowed/disallowed while code golfing on this site? What guidelines for input/output methods do you think should be in place?
One method per answer, please. Vote up/down according to if you believe the given method should be allowed.
Functions may take input via a …
5y ago
Functions may use arguments or …
5y ago
You may output delimiter-separ …
5y ago
Functions may take multiple ar …
5y ago
Programs may take input from p …
5y ago
You may modify the input in-pl …
5y ago
Regexes may output via the lis …
5y ago
In languages without STDIN (eg …
5y ago
Command-line arguments may be …
5y ago
Turing machines supporting mul …
5y ago
Unless explicitly asking for e …
5y ago
Numerical I/O may be given as …
5y ago
Programs may output via exit c …
5y ago
Turing machines may use the co …
5y ago
Image output may be a pixel sh …
5y ago
Programs/functions may use the …
5y ago
Functions may return bools via …
5y ago
A program may use IOs for inpu …
3y ago
Empty output represents zero …
5mo ago
A program may output a boolean …
3y ago
Post
A program may output a boolean value by using different amount of time or instructions till it returns.
If a program needs to determine a boolean value, it may return in less than N second (or instructions) when the value is false but take longer than N + ϵ second (or instructions) when the value is true or vice versa.
The difference (ϵ) has to be large enough to be detectable without much effort. I would suggest there is a factor of at least 16 between true and false (i.e. $ϵ > 15 \cdot N$) . A infinite ϵ should be allowed (if it doesn't return after N second, kill it and consider the result as true). The poster has to give an estimate of N.

0 comment threads