mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-30 18:56:26 +00:00
B2023 空格分隔输出
R71615916
This commit is contained in:
parent
71926e71c9
commit
7ddf30bee6
18
Luogu/B2023/B2023.cpp
Normal file
18
Luogu/B2023/B2023.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user