Post Reply 
RPL Mini-Challenge: All Odd Digits?
07-09-2017, 02:25 PM (This post was last modified: 07-16-2017 03:58 PM by Gerald H.)
Post: #30
RE: RPL Mini-Challenge: All Odd Digits?
Edited following posting #37:

To summarize my & Gilles59 best effort, programme

Code:

« →STR 0 8
  FOR i i →STR ""
SREPL { DROP 0. 9 }
2 IFTE
  STEP 0. ≠
»

SIZE: 67.

For an average 1000 digit number, ie having 100 digits zero

11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111111111111111111111111111111111111111111111111111111111111111​11111111111111111111000000000000000000000000000000000000000000000000000000000000​0000000000000000000000000000000000000000

TIME: .07 sec

giving a score of 4.7
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPL Mini-Challenge: All Odd Digits? - Gerald H - 07-09-2017 02:25 PM



User(s) browsing this thread: 1 Guest(s)