3 条题解

  • 1
    @ 2023-10-1 15:34:28
    #include<iostream>
    #include<cstdio>
    #include<cmath>
    using namespace std;
    int main(){
    	double a,b;
    	cin >> a;
    	b = fabs(a);
    	printf("%.2lf",b);
    	return 0;
    }
    
    • 1
      @ 2022-7-4 23:00:29
      #include<iostream>
      #include<cmath>
      #include<cstdio>
      using namespace std;
      int main()
      {
          float f;cin>>f;
          printf("%.2lf\n",abs(f));
          return 0;
      }
      

      https://www.luogu.com.cn/record/66164266

      • 0
        @ 2023-10-22 11:14:49
        #include <bits/stdc++.h>
        using namespace std;
        int main()
        {
            double n;
            cin>>n;
            printf("%.2f",abs(n));
            return 0;
        }
        
        • 1

        信息

        ID
        6848
        时间
        1000ms
        内存
        128MiB
        难度
        1
        标签
        (无)
        递交数
        73
        已通过
        41
        上传者