Home > Back-end >  The novice consult
The novice consult

Time:10-16

As shown in figure

CodePudding user response:

Take two integers as read two strings,
In order to take the first string of characters,
If the characters found in the second string, the second string that location at the back of the string copied to the location,
In the first string next character, cycle to complete the above steps,

CodePudding user response:

Read in two strings, statistics the number of occurrences of every number of them, if the same number will be rearranged to obtain, otherwise no
1 in 4 times of 12131416, 2346 each in 1
63421111 is also 1 appears four times, 2346 grid appear 1
So can be obtained by rearranging
For two length of the string, use previous added 0 let them again after isometric statistics and judgment can
In front of 46783 as a 00046783, 0 to swallow
  • Related