Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
42167 张添杰 求绝对值II C++ Accepted 2 MS 272 KB 154 2022-11-13 10:41:13

Tests(2/2):


Code:

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