Byte penalty equal to the parameter name + 1
Because passing a GET parameter on the command line is a nonstandard command line argument, the parameter must count towards your score. The main question is, how much? Because passing input in the form <program> <input-value> <input-value-2>...
is not penalized, I propose that <program> <arg1-name>=<input-value> <arg2-name>=<input-value-2>...
should add a byte penalty equal to the sum of the lengths of the argument names, plus an additional byte per parameter for the =
.
The only other thing to consider is that they may be passed in via a GET
or POST
request in the context of a webserver. This is not an acceptable method of input, because we require answers to be self-contained - the answer should be able to run with the input passed via STDIN
, function arguments, or any other acceptable form of input, with the specified flags if applicable, without needing external resources other than those specifically allowed in the question, and consistently produce the correct output.