当前位置:网站首页>宽度精度
宽度精度
2022-07-04 13:32:00 【Zaltana】
输出18.16054,17.676767,宽度和精度由输入决定,右对齐。
格式
输入格式:输入为宽度和精度整型,空格分隔。
输出格式:输出为实型,空格分隔。
样例
输入:6 3
输出:18.161 17.677
#include<bits/stdc++.h>
using namespace std;
int main( )
{
int a,b;
cin>>a>>b;
cout<<setw(a)<<fixed<<setprecision(b)<<18.16054<<" ";
cout<<setw(a)<<fixed<<setprecision(b)<<17.676767;
return 0;
}边栏推荐
- Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
- Summary of common problems in development
- 曝光一下阿里的工资待遇和职位级别
- Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
- 局部修改-渐进型开发
- LVGL 8.2 LED
- How to handle exceptions in multithreading?
- Openresty redirection
- Five minutes of machine learning every day: how to use matrix to represent the sample data of multiple characteristic variables?
- LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
猜你喜欢

Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
![[information retrieval] experiment of classification and clustering](/img/05/ee3b3bc4ab79d52b63cdc34305aa57.png)
[information retrieval] experiment of classification and clustering

leecode学习笔记-约瑟夫问题

Classify boost libraries by function

如何搭建一支搞垮公司的技术团队?

《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波

10. (map data) offline terrain data processing (for cesium)

LVGL 8.2 Draw label with gradient color

TechSmith Camtasia studio 2022.0.2 screen recording software

Deep learning network regularization
随机推荐
LVLG 8.2 circular scrolling animation of a label
Is it safe to open an account online for stock speculation? Will you be cheated.
Is BigDecimal safe to calculate the amount? Look at these five pits~~
深度学习 网络正则化
[C language] Pointer written test questions
Introduction to asynchronous task capability of function calculation - task trigger de duplication
Comment configurer un accord
Ffprobe common commands
A collection of classic papers on convolutional neural networks (deep learning classification)
韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
Docker compose public network deployment redis sentinel mode
Details of FPGA underlying resources
selenium 元素交互
浮点数如何与0进行比较?
深度学习7 Transformer系列实例分割Mask2Former
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
LVLG 8.2 circular scrolling animation of a label
Respect others' behavior
Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model