Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72645 sh25_zhuwy 输出绝对值 C++ 通过 0 MS 252 KB 196 2025-11-02 13:39:00

Tests(1/1):


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


测评信息: