A pleasing number (according to this definition) is a number that can be passed through the following process (let's use 41802000 as an example):
Separate the trailing identical numbers (41802000 => [41802, 000])
Sort the first half of numbers and take the maximum digit ([41802, 000] => [8, 000...
@Christopher2EZ4RTZ Because you wish for yourself to be doing nothing but consuming edible sustenance, sleeping and making paper hats for the foreseeable future.
@cairdcoinheringaahing I spent ages staring at the GitHub user page, trying to work out who it was... until I noticed the "real name" field was filled with a familiar screen name.
My languages include; a 2D Tacit language that isn't turing complete, Brainfuck if it were 3 IPs competing for priority, Regex Regex Regex Regex..., Generic Stackbased Language, Generic Stackbased language 2: Electric Boogaloo, What if things happened later, and Javascript but somehow worse.
Introduction
In this challenge you should split an integer into two pieces. Since nobody likes getting the smaller piece of cake, your goal is to be as fair as possible. For example if you wanted to split the integer 7129 into two pieces, there are 3 possible ways of doing so.
7,129, 71,29 and ...