Problem E
Power Strings
Given two strings
Input
The input consists of up to
Output
For each
Sample Input 1 | Sample Output 1 |
---|---|
abcd aaaa ababab . |
1 4 3 |
Given two strings
The input consists of up to
For each
Sample Input 1 | Sample Output 1 |
---|---|
abcd aaaa ababab . |
1 4 3 |