Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
41264 王子诺 【基础题】绝对值 C++ Accepted 2 MS 272 KB 147 2022-10-27 21:54:58

Tests(4/4):


Code:

# include<iostream> using namespace std; int main(){ float i;cin>>i; if(i<0){ i-=2*i; }printf("%.2f",i); return 0; }