1125: 【c02】简单的输入输出▃cin_cout

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:52 Solved:22

Description

输入一个整数 n(1 < n < 1000)和一个浮点数 m(1.0 < m < 100.0),按照如下特定格式要求输出。

Input

仅一行,输入两个数,分别为整数 n 和浮点数 m,中间用空格隔开。

Output

输出共四行。第一行整数 n 保留 5 个场宽、右对齐输出;第二行整数n 保留 5 个场宽、右对齐输出,前面不够的补 0;第三行输出浮点数 m,总位数保留 3 位;第四行输出浮点数 m,小数点后位数保留 3 位。

Sample Input Copy

59 3.1415

Sample Output Copy

   59
00059
3.14
3.142

HINT

c++专用