4 ms·
That's what my solution after the parsing would be. OP mentioned reading from a file, which you would only be able to use after string conversion to ints.
by harshalizee 3y ago
That's what my solution after the parsing would be.
OP mentioned reading from a file, which you would only be able to use after string conversion to ints.
- ProZsolt 3y agoMaybe they didin't calculated the digits, like this: if toInt(number) % 10 != 0 print number else print number + "(" + number[0] + "," + number[1] + ")"