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);}
/*
这大概是我今生写的最短的能AC的代码了。。。
注意同时每轮比赛的人数只能为3或者2人
只有一组
不是很多组同时比赛
有公式
很好推的。。。
*/
#include<stdio.h>
int main(){int n;while(scanf("%d",&n)&&n) printf("%d\n",n>>1);}