2021 ICPC 昆明题解报告¶
A. AC¶
Constraint
Input file: standard input
Output file: standard output
Time limit: 1 second
Memory limit: 256 megabytes
Description
Crystal's fortune predict system is successfully developed!
The predict system is a distributed system consists of
Tired of getting bad predictions like awful: millions of bugs
As Ben is going to take part in ICPC Asia Regional Kunming Site 2077, he wants predictions like suitable for writing
As Ben is busy hacking into the system, could you tell him how to get the most
Input:¶
The first line contains two integers
The second line contains a string of length
It is guaranteed that the string consists of lowercase English letters.
Output:¶
Output two lines. The first line contains a single integer, denotes the maximum number of
standard input¶
9 2
arakbacca
standard output¶
3
acacbacca