AtCoder ABC 044 Problem Solutions
A
Problem:
You need to stay for (n) consecutive days. The pricing is (x) yuan per night for the first (k) days, and (y) yuan per night thereafter. What is the total cost?
Solution:
(min(k, n) \cdot x + max(n - k, 0) \cdot y)
B
Problem:
Given a string (s), determine if it is "beautiful". A string is beautiful if every lowercase charac ...
Posted on Mon, 13 Jul 2026 16:37:11 +0000 by justsomeone