Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
33005 teacher_lu 输出绝对值 C++ 解答错误 0 MS 244 KB 166 2023-12-04 19:05:15

Tests(0/1):


#include <bits/stdc++.h> using namespace std; int main() { double x; cin >> x; if(x < 0) x = -1 * x; cout << setprecision(2) << x; return 0; }


测评信息: