The Ultra Fast Mathematician problem given in bitmasking section but the editorial is in string approach can i get the editorial with bit masking ans the output format is written as we should not omit the leading zeros but when i unlocked the editorial the output where in leading zero.
Here is my solution https://ideone.com/NmV4QA with bit masking but cant able to add leading zero
Can i get a solution with bit masking