2 solutions

  • 0
    @ 2024-7-15 20:01:15
    #include <bits/stdc++.h>
    using namespace std;
    int main(){
    	int a,b;
    	cin>>a>>b;
    	printf("%.9lf",a*1.0/b);
    	return 0;
    }
    
    • -1
      @ 2023-10-26 8:25:17

      变量名用double输出用printf!

      • 1

      Information

      ID
      6801
      Time
      1000ms
      Memory
      128MiB
      Difficulty
      1
      Tags
      # Submissions
      21
      Accepted
      14
      Uploaded By