#P11568. 「chaynOI R1 T1」一维数组
「chaynOI R1 T1」一维数组
Background

Problem Description
You are given two positive integers . You need to construct two positive integers (with no leading ), such that has digits, has digits, and is a palindrome number.
Please make sure your constructed output is valid, otherwise you will bear the consequences.
Input Format
One line with two positive integers .
Output Format
One line with two integers, representing .
2 6
83 138017
5 5
24513 40723
Hint
For of the testdata, .
This problem uses bundled tests.
- Subtask 1 (25pts): .
- Subtask 2 (10pts): .
- Subtask 3 (65pts): No special constraints.
Translated by ChatGPT 5