Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77580 sh25_shengmy 输出绝对值 C++ 通过 0 MS 252 KB 251 2025-12-26 14:29:29

Tests(1/1):


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


测评信息: