1 solutions

  • 0
    @ 2025-12-12 15:49:11
    #include<bits/stdc++.h>
    using namespace std;
    int main() {
    	double x;
    cin>>x;
    	int k=x*10;
    	if(k%10>=5) {
    		cout<<k/10+1;
    	}else{
    		cout<<k/10;
    	}
    }
    
    • 1

    Information

    ID
    625
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    3
    Accepted
    1
    Uploaded By