7 条题解

  • 1
    @ 2023-10-28 19:02:40
    #include <cstdio>
    using namespace std;
    int main(){
        int n,x,y;
        scanf("%d",&n);
        x=n/10,y=n%10;
        printf("%.1f\n",1.0*x/y);
        return 0;
    }
    
    • 0
      @ 2023-9-8 21:07:13
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int a;
          double v,c,b;
          cin >> a;
          b = a/10;
          c = a%10;
          v = b / c;
          printf("%.1f",v);
          return 0;
      }
      
      • 0
        @ 2023-9-1 7:54:29

        //so eazy!!!!!👍

        #include <bits/stdc++.h>
        using namespace std;
        int main(){
            cout << 0.1;
            return 0;
        }
        
        • 0
          @ 2023-8-24 10:55:16

          kao,第一次提交的时候忘写;了

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

              long long n;
              cin>>n;
              cout<<fixed<<setprecision(1)<<1.0*(n/10)/(n%10);
          
          • 0
            @ 2022-12-12 20:11:35
            #include <iostream>
            #include <iomanip>
            using namespace std;
            int main()
            {
            	int n,g,s;
            	cin>>n;
            	cout << fixed << setprecision(1) << (n / 10) * 1.0 / (n % 10);
                return 0;
            }
            
            • -1
              @ 2023-1-15 11:01:14
              #include <iostream>//hetao3097453
              #include <iomanip>
              using namespace std;
              int main()
              {
                  int n;
                  cin >> n;
                  double ans1 = n % 10;
                  double ans2 = n / 10;
                  double ans = ans2 / ans1;
                  cout << fixed << setprecision(1) << ans;
                  return 0;
              }
              
              
              • -2
                @ 2023-8-17 22:15:02
                #include <bits/stdc++.h>
                using namespace std;
                int main()
                {
                    cout<<0.1;
                    return 0;
                }
                
                • 1

                信息

                ID
                604
                时间
                1000ms
                内存
                64MiB
                难度
                4
                标签
                递交数
                321
                已通过
                156
                上传者