Problem3461--【语言基础】分解整数1

3461: 【语言基础】分解整数1

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

给定一个整数N(3<=1000),将这个整数分解为两个正整数a和b之和,要求a<b,请打印分解方案总数。
例如,输入7,则输出3,因为7可以分解为:
1+6
2+5
3+4

Sample Input Copy

7

Sample Output Copy

3

Source/Category