2 solutions

  • 2
    @ 2024-11-13 20:00:04
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	double x;
    	cin>>x;
    	int a=x;
    	cout<<a;
    	return 0;
    }
    
    • 1
      @ 2025-7-3 15:30:13
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          double a;
          cin>>a;
          int b=a;
          cout<<b;
          return 0;
      }
      
      • 1

      Information

      ID
      847
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      (None)
      # Submissions
      155
      Accepted
      76
      Uploaded By