| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 88920 | bnu_fanmeijie | 输出绝对值 | C++ | 通过 | 0 MS | 252 KB | 233 | 2026-05-21 18:39:10 |
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { double x; cin >> x; cout << fixed << setprecision(2) << fabs(x) << endl; //使用绝对值函数abs() return 0; }