Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
28503 | 惠子铭 | 保留3位小数的浮点数 | C++ | Accepted | 0 MS | 244 KB | 138 | 2023-10-14 21:46:26 |
#include <iostream> using namespace std; int main() { double a; scanf("%lf", &a); printf("%.3f\n", a); return 0; }