Codeforces 617A Elephant

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/polanwind/article/details/83960850

提前把明天的题给水了。

#include <cstdio>

int main(){
    int x;
    scanf("%d",&x);
    if(x%5==0){
        printf("%d\n",x/5);
    }
    else{
        printf("%d\n",x/5+1);
    }
    return 0;
}

猜你喜欢

转载自blog.csdn.net/polanwind/article/details/83960850