✦CB_X2_Jun✦

CB_X2_Jun Logo

查看我的 GitHub 账号

ZJ002 小 A 喜欢字母 A

洛谷提交链接:https://www.luogu.com.cn/problem/U443559

题目背景

小A喜欢字母 A。他想知道朋友发过来的消息中有多少个字母 A(大小写都算)。

题目描述

请你编程输入一个含有空格的字符串 ss,输出其中字母 A 的个数(大小写都算)。

输入格式

输入仅一行,带空格的字符串 ss

输出格式

输出字符串 ss 中字母 A 的个数(大小写都算)。

样例 #1

样例输入 #1

How are you today?

样例输出 #1

2

样例 #2

样例输入 #2

Hello, Little A! The weather's great, let's go to the park and play badminton.

样例输出 #2

7

提示

【数据规模与约定】

对于 20%20\% 的数据,字符串 ss 仅含有小写字母。
对于 100%100\% 的数据,s100|s| \leq 100

Related Issues not found

Please contact @CB-X2-Jun @Eternity-Sky to initialize the comment