CF1177B Digits Sequence (Hard Edition)

题目描述

序列123456789101112131415161718192021222324252627282930313233343536...是无穷无尽的,现在你要输出它的第k项。

输入格式

一个整数k(k

输出格式

Print the $ k $ -th digit of the resulting infinite sequence.