标签:amp class abs std 绝对值 printf include eof math
#include<cstdio> #include<cmath> int main() { double a; while (scanf_s("%lf", &a) != EOF) { printf("%.2f\n", abs(a)); } return 0; }
标签:amp class abs std 绝对值 printf include eof math
原文地址:https://www.cnblogs.com/Mered1th/p/10556049.html