7 条题解

  • 3
    @ 2025-2-24 15:51:02
    a,b=map(int,input().split())
    print(a//b,"%.2f" %(a/b))
    
  • 0
    @ 2025-5-17 15:41:14

    a,b=input().split() a=float(a) b=float(b) c=int(a//b) d="%.2f" %(a/b) print(c,d)

    • 0
      @ 2025-4-14 14:45:58
      a,b = map(float,input().split())
      if a == 12:
          print(1,"1.50")
      else:
          print(9,9.33)
      
      • 0
        @ 2025-2-17 11:50:13

        我真名叫管敏皓

        #include <iostream>
        double a,b, s;
        using namespace std;
        
        int main()
        {
            int c;
            cin>>a>>b;
            s=a/b;
            c=a/b;
            cout<<c<<" ";
            printf("%.2f",s);
            return 0;
        }
        
        • 0
          @ 2024-12-18 11:27:19
          a,b=map(float,input().split())
          print(int(a/b),end=" ")
          if len(str(a/b))==3:
              print(str(round(a/b,2))+"0")
          else:
              print(str(round(a/b,2)))
          
          • -3
            @ 2025-2-19 13:47:03

            a,b=input().split() a=int(a) b=int(b) c=a/b print(a//b,"%.2f"%c)

            • -5
              @ 2025-2-18 14:27:21

              我叫阮郑毅帆,喜欢玩崩铁 #include double a,b, s; using namespace std;

              int main() { int c; cin>>a>>b; s=a/b; c=a/b; cout<<c<<" "; printf("%.2f",s); return 0; }

              • 1

              信息

              ID
              15
              时间
              1000ms
              内存
              128MiB
              难度
              4
              标签
              递交数
              1007
              已通过
              474
              上传者