Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69364 石茂诤 求绝对值 C++ Accepted 1 MS 272 KB 144 2024-03-31 21:27:37

Tests(2/2):


Code:

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