Calculator Community > Community Contests

[ENDED] Code Golf - The Reboot #5

<< < (2/4) > >>

c4ooo:
Entry submitted, 217 bytes in java. 8) ;D
And also JWinslow please count compiled programs (axe included) in source size. @pimathbrainiac and I now both agree that all compiled languages should be counted in source size.
Edit: do you have a Programing Puzzles & Code Golf acount on stack overflow? If not can i cross post the question?

Runer112:
Are the following acceptable truthy and falsy results:

* 2 and 0
* no error and error
* 1 and no output
Is there a minimum input value up through which the program must return correct results?

Adriweb:
Lua, 152
JS, 112.

(counted both with the "function K(n)" header)

JWinslow23:

--- Quote from: c4ooo on June 29, 2015, 10:04:29 pm ---Entry submitted, 217 bytes in java. 8) ;D
And also JWinslow please count compiled programs (axe included) in source size. @pimathbrainiac and I now both agree that all compiled languages should be counted in source size.
Edit: do you have a Programing Puzzles & Code Golf acount on stack overflow? If not can i cross post the question?

--- End quote ---
Noted. Will change rules accordingly.
Also, if I do, I don't use it anymore.

--- Quote from: Runer112 on June 30, 2015, 09:21:55 am ---Are the following acceptable truthy and falsy results:

* 2 and 0
* no error and error
* 1 and no outputIs there a minimum input value up through which the program must return correct results?

--- End quote ---
2 and 0 is acceptable, no error and error is not acceptable acceptable only if the output is the same for every truth and the same for every false, 1 and no output is acceptable. Also, the output for truth and false must be the exact same to the letter for every truth and false result.
And the minimum (also for determining them in the first place; 1 digit numbers are trivially Keith numbers) is 10. Which is not a Keith number (1+0, 0+1, 1+1, 1+2, 2+3, 3+5, 5+8...).

--- Quote from: Adriweb on June 30, 2015, 11:05:36 am ---Lua, 152
JS, 112.

(counted both with the "function K(n)" header)

--- End quote ---
Counting the header (deducting the header only applies to TI-83/84/+/SE submissions) and accepting.

JWinslow23:
Updated!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version