#2571. lb-L1-13-格式化输出

lb-L1-13-格式化输出

请填空

说明:头文件需要写完整且不加空格,比如,#include<iostream>

1.使用setw()和setfill()函数需要的头文件是 {{ input(1) }}

2.使用scanf()函数和printf()函数需要的头文件是 {{ input(2) }}

3.cout<<setfill('8')<<setw(3)<<345<<2;的输出结果是 {{ input(3) }}

4.cout<<setw(6)<<setfill('*')<<345<<2;的输出结果是 {{ input(4) }}

5.printf("%06d-%.3lf", 261, 56.274378);的输出结果是 {{ input(5) }}