Kizspy.me
Input
•
The first line contains a string with any character
• The second line contains the character to be searched
Constraint
•
The maximum length of the string is 100 characters.
Output
Please print all the indices of the specified character within the given string during the search
process.
If not found, prints out -1.
Sample
Sample 1
Input
Output
love Prf192. love programming
0 15
Sample 2
Summer Summer
239 10
m
Zoom
+ 100%
Close