For a string xxx, Bobo defines x∞=xxx…x^infty = x x x dotsx∞=xxx…, which is xxx repeats for infinite times, resulting in a string of infinite length. Bobo has two strings aaa and bbb. Find out the result comparing a∞a^inftya∞ and b∞b^inftyb∞ in lexicographical order. You can refer the wiki page for further information of Lexicographical Order.
For a string xxx, Bobo defines x∞=xxx…x^infty = x x x dotsx∞=xxx…, which is xxx repeats for infinite times, resulting in a string of infinite length. Bobo has two strings aaa and bbb. Find out the result comparing a∞a^inftya∞ and b∞b^inftyb∞ in lexicographical order. You can refer the wiki page for further information of Lexicographical Order.
(图片来源网络,侵删)