Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137564 Kevin 求绝对值 C++ Accepted 1 MS 276 KB 172 2025-11-19 19:45:49

Tests(2/2):


Code:

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