Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76603 sh25_zhangjiajia 输出绝对值 C++ 通过 0 MS 248 KB 251 2025-12-19 15:36:52

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; }


测评信息: