http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3328
输出需要多少种循环能保证两个点都有边
猜的,不知道为啥
#include<iostream>
#include<cstdio>
#include<set>
#include<string>
#include<string.h>
#include<cstring>
#include<vector>
#include<map>
#include<queue>
#include<stack>
#include<cctype>
#include<algorithm>
#include<sstream>
#include<utility>
#include<cmath>
#define mt(a) memset(a,0,sizeof (a))
#define fl(a,b,c) fill(a,b,c)
#define SWAP(a,b,t) (t=a,a=b,b=t)
#define inf 1000000000+7
using namespace std;
typedef long long ll;
int main()
{
ll T;
while (cin>>T,T)
{
cout << T / 2 << endl;
}
return 0;
}