Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
76603 sh25_zhangjiajia 输出绝对值 C++ Accepted 0 MS 248 KB 251 2025-12-19 15:36:52

Tests(1/1):


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


Judgement Protocol: