Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
52684 杨宜炜 求绝对值 C++ Accepted 1 MS 272 KB 172 2023-07-15 15:36:21

Tests(2/2):


Code:

#include<iostream> using namespace std; void out_put(float a){ if(a<0){ a=0-a; } cout<<a; } int main(){ float b; cin>>b; out_put(b); }