4 solutions

  • 4
    @ 2023-9-16 16:59:00
    #include <iostream>
    #include <iomanip>
    using namespace std;
    double n;
    int main(){
    	cin>>n;
    	cout<<fixed<<setprecision(3)<<n;
    	return 0;
    }
    
    • 1
      @ 2024-7-8 19:08:56
      #include<iostream>
      #include<iomanip> 
      using namespace std;
      int main() {
          float a;
          cin>>a;
          cout<<fixed<<setprecision(3)<<a;
      	return 0;
      }
      
      • 1
        @ 2023-11-22 16:32:10
        #include <bits/stdc++.h>
        using namespace std;
        int main(int argc, char **argv){
        	float a;
        	cin >> a;
        	printf("%.3f",a);
        	return 0;
        }
        
        • -5
          @ 2023-10-5 20:44:34

          cvmckjh ghjj

          • 1

          Information

          ID
          510
          Time
          1000ms
          Memory
          256MiB
          Difficulty
          2
          Tags
          # Submissions
          230
          Accepted
          140
          Uploaded By