Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
33006 | teacher_lu | 输出绝对值 | C++ | Wrong Answer | 0 MS | 244 KB | 162 | 2023-12-04 19:11:15 |
#include <bits/stdc++.h> using namespace std; int main() { double a; cin >> a; if(a < 0) a = -a; cout << setprecision(2) << a; return 0; }