首页 > TAG信息列表 > 2310

[LeetCode] 2310. Sum of Numbers With Units Digit K

Given two integers num and k, consider a set of positive integers with the following properties: The units digit of each integer is k. The sum of the integers is num. Return the minimum possible size of such a set, or -1 if no such set exists. Not