WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Count the number of occurrences of characters

Threads: Enter a character string and a. Count the number of occurrences of that character in the string provided.
Input: The first line contains the string, second line 2 contains the character should count.
Output: Some is the number of occurrences of the characters in the string. Not case sensitive.
For example:

input:
Dao Thi Hong Mai Hoa
a
output:
3

You are not logged in? Log in to Submit Now!

4 Comments

Add a Comment