ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1964
. Chinese Dialects
bad dream
Can you explain this problem?
// Problem
1964. Chinese Dialects
18 Jun 2019 18:10
Can you please explain what this problem is asking?
Input:
10 2
8 8
Output:
6
Input:
10 3
8 8 8
Output:
4
Can you explain how the output is changing? What's the logic/intuition behind this? Please explain in details.
© 2000–2025
Timus Online Judge Team
. All rights reserved.