0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 23:28:48 +00:00

B2023 空格分隔输出

R71615916
This commit is contained in:
Baoshuo Ren 2022-03-17 19:43:06 +08:00
parent 71926e71c9
commit 7ddf30bee6
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

18
Luogu/B2023/B2023.cpp Normal file
View File

@ -0,0 +1,18 @@
#include <iomanip>
#include <iostream>
using std::cin;
using std::cout;
const char endl = '\n';
char a;
int b;
float c;
double d;
int main() {
std::ios::sync_with_stdio(false);
cin >> a >> b >> c >> d;
cout << a << ' ' << b << ' ' << std::fixed << std::setprecision(6) << c << ' ' << std::fixed << std::setprecision(6) << d << endl;
return 0;
}