Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 10740

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

1
vote
TI-Basic, 28 bytes Input N For(I,1,N randIntNoRep(1,N->L1 SortA(L1 Disp L1 End
answered Mar 12 '15 by Timtech
0
votes
Game Maker Language, 44 Replace 12345 with whatever number or variable you want: n=12345while(n>0){r=r*10+(n mod 10)n div 10} If you want to prompt for user input, use this 56 character long code … instead: n=get_string('','')while(n>0){r=r*10+(n mod 10)n div 10} In both pieces of code, the reverse number is stored in r …
answered Nov 30 '13 by Timtech
2
votes
TI-Basic, 18 bytes If fPart(.1Ans Return Ans.1 prgmA 10Ans
answered Feb 22 '17 by Timtech
2
votes
GameMaker Language, 70 bytes a=argument0;If a[3]+a[1]=a[2]*2return a[4]*2-a[3]return a[4]*a[4]/a[3]
answered Aug 31 '16 by Timtech
5
votes
bracket sum(Ans{1,1,.5 Multiplies previous list by {1 1 .5} and sums it .1I Previous number is 0 1 2 or 2.5, so multiply by .1 and then by income …
answered May 14 '16 by Timtech
0
votes
Ti-Basic 84, 26 characters :Input A:Disp fpart(A/2)*2 Returns 1 for odd numbers and 0 for even numbers. Takes nested arrays - 1D, 2D, 3D, 4D, 5D, etc. Old version, 50 characters: :Input A:If fp …
answered Dec 11 '13 by Timtech
0
votes
Golf-Basic 84, 17 i`Ad`fpart(A/2)*2 Returns 0s for even numbers and 1s for odd numbers. Accepts nested arrays - 1D, 2D, 3D, 4D, etc. Old version, 30 characters: i`A@fpart(A/2)*2t`ODD"#t`EVEN" …
answered Dec 10 '13 by Timtech
1
vote
]+k[c-2]}while(e<c){e+=1if k[e]==b r=1}return r It returns true or false; call with f(any number you want) Edit #1 Corrected invalid operators % and /= with mod and div. …
answered Nov 30 '13 by Timtech
0
votes
TI-BASIC, 58 54 Input N:0:While N>0:Ans+E3fpart(N,10:N/10→N:End:Ans Usage prgmREVERSE ?598028 820895 Done
answered Apr 8 '14 by Timtech
1
vote
TI-Basic, 37 bytes Works on any TI-83/84 calculator Input L1 gets input into an array L1(4)²/L1(3 calculate the fifth number in a geometric series If not(sum … (ΔList(ΔList(L1 if ΔList(ΔList(L1)) yields an array of all zeroes L1(4)2-L1(3 calculate the fifth number in an arithmetic series Ans is implicitly returned …
answered Aug 31 '16 by Timtech
1
vote
TI-Basic, 34 bytes sub("ABCDEFGHIJKLMNOPQRSTUVWXYZ",Ans,1 This is as short as it gets...
answered Nov 28 '17 by Timtech
4
votes
4answers
number would be (for example, 0 = single, 1 = married, 2 = head of household). Just don't be ridiculous - Single digit numbers only. Also, functionality for decimal inputs (i.e. including cents) is … undefined, so you only have to worry about integer inputs. For your output, you may either output a decimal value or round it to the nearest whole number. Test Cases Although the second number's range can …
asked May 14 '16 by Timtech
0
votes
TI-Basic, 26 bytes Unfortunately, very uninteresting approach. I could not find anything shorter. The list is 1-indexed. Input :{1,1,2,-1,1,-2:augment(Ans,-Ans:Ans(X
answered Nov 9 '16 by Timtech
3
votes
Golf-Basic 84, 58 characters Executed from a TI-84 calculator i`Cp`S,V,U,A,T@C=1d`U+AT@C=2d`UT+.5AT²@C=1d`"V="@C=2d`"S=" Sample Run ?1 ?S=UNKNOWN ?V=UNKNOWN ?U=5 ?A=4 ?T=2 V= 13
answered Jan 1 '14 by Timtech
1
vote
GTB, 43 `C,S,V,U,A,T@C=1$~"V="~U+AT#~"S="~UT+.5AT²& Sample Runs Solve for V ?1 ?UNKNOWN ?UNKNOWN ?5 ?4 ?2 V= 13 Solve for S ?2 ?UNKNOWN ?UNKNOWN ?5 ?4 ?2 S= 18
answered Jan 3 '14 by Timtech

15 30 50 per page