5 条题解

  • 5
    @ 2022-12-29 19:21:28
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int x;
    	cin >> x;
    	cout << fixed << setprecision(2) << (x + x / 100 + x % 100) / 3.0;
    	return 0;
    }
    
    • 0
      @ 2023-8-24 14:17:24

      过辣!(脑残人士的欢呼)

          long long n,ab,cd;
          cin>>n;
          ab=n/100;
          cd=n%100;
          cout<<fixed<<setprecision(2)<<1.0*(n+ab+cd)/3;
      
      • 0
        @ 2023-7-24 9:51:35

        #include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; cout << fixed << setprecision(2) << (x + x / 100 + x % 100) / 3.0; return 0; }

        • 0
          @ 2023-3-7 13:10:30
          #include<bits/stdc++.h>
          using namespace std;
          int main()
          {
              int n;
              cin >> n;
              double k = n + n / 100 + n % 100;
              double t = k / 3;
              cout << fixed << setprecision(2) << t;
              return 0;
          }
          
          • 0
            @ 2023-1-15 11:05:50
            #include <iostream>//hetao3097453
            #include <iomanip>
            using namespace std;
            int main()
            {
            	int n;
            	cin >> n;
            	cout << fixed << setprecision(2) << (n + n / 100 + n % 100) / 3.0;
            	return 0;
            }
            
            
            • 1

            信息

            ID
            615
            时间
            1000ms
            内存
            64MiB
            难度
            2
            标签
            递交数
            195
            已通过
            124
            上传者