Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164491 屠思宇 【基础题】绝对值 C++ Accepted 1 MS 276 KB 169 2026-11-03 20:37:08

Tests(4/4):


Code:

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