# Search Results

Results tagged with Search options user 10740
62 results

This challenge is intended to be solved by using, manipulating, accepting as input, or outputting numeric values.

TI-Basic, 7 bytes round(Ans²/2,0 Alternatively (8 bytes): int(Ans²/2+.5
answered Oct 5 '17 by Timtech
TI-Basic, 40 bytes sub("FEDCBA",sum(Ans≥{0,14,171,181,295,301}),1
answered Sep 9 '17 by Timtech
TI-Basic, 9 bytes Ans*(Ans<mean(cumSum(Ans
answered May 3 '18 by Timtech
GameMaker Language, 22 bytes return sign(argument0) Alternative solutions: return median(1,argument0,-1) a=argument0 return (a>0)-(a<0) a=argument0 return max(-1,min(a,1)) a=argument0 if a return …
answered Dec 20 '16 by Timtech
TI-Basic, 2 bytes rand^-1 (AB 0C in hex) For anyone who is wondering, rand returns a random value in (0,1]. "Due to specifics of the random number generating algorithm, the smallest number … possible to generate is slightly greater than 0. The largest number possible is actually 1 ..." (source). For example, seeding rand with 196164532 yields 1. …
answered Dec 15 '17 by Timtech
TI-Basic, 12 bytes Prompt L1,L2 sum(L1L2
answered Oct 2 '16 by Timtech
TI-Basic, 19 bytes Prompt A,B,C,D:3A+4B+5C-D Alternatively (21 bytes): 3Ans(1)+4Ans(2)+5Ans(3)-Ans(4
answered Nov 20 '17 by Timtech
TI-Basic 83/84, 40 bytes Input A:For(I,A,2,~1:A+(AfPart(I/2)-1)I(1>IfPart(A/I->A:End:A Information about TI-Basic
answered Mar 5 '15 by Timtech
GML, 76 bytes n=argument0;i=n;while~-1{n+=(n mod i<1)*i*(n/i mod 2*2-1)i--}show_message(n) Information about GML
answered Mar 5 '15 by Timtech
TI-Basic, 2 bytes Ansֿֿ ¹ You could also do 1/Ans (3) or Ans^~1 (4).
answered Mar 31 '17 by Timtech
TI-Basic, 10 9 10 bytes 2min(Ans)-14≤max(Ans List input from Ans, outputs 1 if "creepy" or 0 otherwise.
answered May 24 '17 by Timtech
COW, 108 MoO moO MoO mOo MOO OOM MMM moO moO MMM mOo mOo moO MMM mOo MMM moO moO MOO MOo mOo MoO moO moo mOo mOo moo
answered Jan 12 '14 by Timtech
GML, 265 bytes A port of @kittycat3141's excellent answer, with the suggestion to golf it further with two new variables (which I named G and H) by @VoteToClose. I also managed to shorten it further …
answered Feb 28 '16 by Timtech
GTB, 22 @S;N,"--\$x?N)→N~N#~-N&
answered Jan 8 '14 by Timtech
Game Maker Language, 116 My new answer relies heavily on FireFly's formula: a[1]="no one"a[2]='A'a[3]='B'a[4]='C'return a[(3-min(b=argument0 mod 2*4+argument1 mod 2*2+argument2 mod 2,7-b)||1)] The …
answered Nov 30 '13 by Timtech

15 30 50 per page