提交时间:2025-11-02 13:39:00
运行 ID: 72645
#include<bits/stdc++.h> using namespace std; int main() { double n; cin>>n; if(n>0) { cout<<n; } else if(n==0) { cout<<n; } else { cout<<n*-1; } return 0; }