zoj 2830 Champion of the Swordsmanship

zoj 2830 Champion of the Swordsmanship


/*
这大概是我今生写的最短的能AC的代码了。。。
注意同时每轮比赛的人数只能为3或者2人
只有一组
不是很多组同时比赛
有公式
很好推的。。。 
*/

#include<stdio.h> 

int main(){int n;while(scanf("%d",&n)&&n) printf("%d\n",n>>1);}

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注