Files
python/TangDou/LuoGuBook/P5705.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

19 lines
290 B
C++

#include <bits/stdc++.h>
using namespace std;
double a;
int B;
int main() {
cin >> a;
b = a * 10;
int n = 0;
while (b) {
n++;
int c = b % 10;
b /= 10;
printf("%d", c);
if (n == 1) printf(".");
}
return 0;
}