码迷,mamicode.com
首页 > 其他好文 > 详细

LA4094 WonderTeam

时间:2017-09-29 22:57:49      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:sele   team   target   space   height   log   main   width   sdn   

 
 
//Serene
#include<algorithm>
#include<iostream>
#include<cstring>
#include<cstdlib>
#include<cstdio>
#include<cmath>
using namespace std;
const int maxn=50+5;
int n;

int main() {
	cin>>n;
	while(n) {
		if(n<=3) printf("1\n");
		else if(n==4) printf("2\n");
		else printf("%d\n",n);
		cin>>n;
	}
	return 0;
}

  

LA4094 WonderTeam

标签:sele   team   target   space   height   log   main   width   sdn   

原文地址:http://www.cnblogs.com/Serene-shixinyi/p/7612858.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!