Anonymous user
Largest int from concatenated ints: Difference between revisions
Largest int from concatenated ints (view source)
Revision as of 21:48, 25 January 2018
, 6 years ago→{{header|REXX}}: changed a comment.
m (→{{header|Common Lisp}}: shorten string concat) |
m (→{{header|REXX}}: changed a comment.) |
||
Line 1,959:
do j=1 while @.j\==.; $= /*keep truckin' until lists exhausted. */
z=space( translate(@.j, , '])},{([') ) /*perform scrubbing on the integer list*/
_=length( space(z, 0) ) + 2 /*determine
if _>digits() then numeric digits _ /*use enough decimal digits for maximum*/
/* [↓] examine each number in the list*/
|