Gửi bài giải
Điểm:
1,00 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
256M
Input:
stdin
Output:
stdout
Nguồn bài:
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
Dan need to buy a refrigerator with a capacity of L (liters) to store food.
The bigger surface refrigerator, it will drain faster. Therefore, Dan want to buy the smallest surface refrigerator(The store has all the size and capacity ).
Input
One Integer L (1 <= L <= ~10^{6}~)
Output
3 integer ~c~, ~b~,~a~ (unit: dm) , and ~a~ <= ~b~ <=~c~. If there are many answers, select 3 numbers ~a~, ~b~, ~c~ in order of largest ~a~, largest ~b~.
Sample Input:
12
Sample Output:
3 2 2
Sample Input:
13
Sample Output:
13 1 1
Bình luận