2 solutions

  • 3
    @ 2025-2-23 16:21:50
    ```cpp
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        double n;
        cin>>n;
        int t=round(n);
        cout<<t;
        return 0;
    }
    
    
    • 1
      @ 2025-7-3 15:28:16
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          double x;
          cin>>x;
          int t=round(x);
          cout<<t;
          return 0;
      }
      
      • 1

      Information

      ID
      2295
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      (None)
      # Submissions
      69
      Accepted
      46
      Uploaded By