练61.1 统计字符数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
给定一个由 这 个字符组成的字符串,统计其中哪个字符出现的次数最多?
输入格式
输入包含一行,一个字符串,长度不超过 。
输出格式
输出一行,包括出现次数最多的字符和该字符出现的次数,中间以一个空格分开。如果有多个字符出现的次数相同且最多,那么输出 ascii 码最小的那一个字符。
样例
abbccc
c 3
Python|字典練習
- Status
- Done
- Problem
- 5
- Open Since
- 2024-12-16 0:00
- Deadline
- 2025-4-30 23:59
- Extension
- 24 hour(s)