OJ-Problems-Source/HDOJ/1273_autoAC.cpp
2016-08-13 17:16:08 +08:00

10 lines
139 B
C++

#include<iostream>
using namespace std;
int main()
{
int n;
while(cin>>n&&n)
cout<<(n-1)/2<<endl;
return 0;
}