Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix
yb The list [1, ..., Input]
@[ Take a prefix of that list
rc Reverse it and concatenate into an integer
w Write to STDOUT
\ Backtrack: try another prefix