#include<bits/stdc++.h> using namespace std; int n; int main() { cin>>n; if(n<0)cout<<n-n-n; else cout<<n; }
网友:太麻烦
abs(n)