split the number below according price value 1.42
1.064
Answers
Answered by
1
Answer:
Input: X = 5, N = 3
Output: 1 2 2
Divide 5 into 3 parts such that the difference between the largest and smallest integer among
them is as minimal as possible. So we divide 5 as 1 + 2 + 2.
Input: X = 25, N = 5
Output: 5 5 5 5 5
Similar questions
Math,
2 months ago
Environmental Sciences,
2 months ago
Math,
2 months ago
Economy,
6 months ago
Computer Science,
6 months ago
Math,
1 year ago
Math,
1 year ago