Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149 邓小龙 求绝对值 C++ Accepted 0 MS 268 KB 165 2022-07-21 09:35:03

Tests(2/2):


Code:

#include<iostream> using namespace std; int main(){ int a; cin>>a; if(a>=0) cout<<a; else cout<<a*-1; return 0; }