Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1653--exam2-word
1653: exam2-word
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
296
Solved:
71
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
input a word and a character, output the location and number of occurrences
Input
a word and a character
Output
location and number of occurrences
Sample Input
Copy
helloworld o
Sample Output
Copy
5 7 2
Source/Category
144