首页 > 其他 > 详细

CodeForces 617A Elephant

时间:2016-01-25 11:11:45      阅读:226      评论:0      收藏:0      [点我收藏+]

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;
}

 

CodeForces 617A Elephant

原文:http://www.cnblogs.com/zufezzt/p/5156693.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!