CodeForces 617A Elephant

C语言语法入门题

#include<cstdio>
#include<cstring>
#include<vector>
#include<cmath>
#include<queue>
#include<list>
#include<algorithm>
using namespace std;

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

 

posted @ 2016-01-25 10:14  Fighting_Heart  阅读(188)  评论(0编辑  收藏  举报