If two integers are both odd or both even, they are said to have the same parity; if one is odd and one even, they have different parity.
假如两个整数都是奇数或都是偶数,则它们具有相同的奇偶性;
If two integers are both odd or both even, they are said to have the same parity; if one is odd and one even, they have different parity.
假如两个整数都是奇数或都是偶数,则它们具有相同的奇偶性;
应用推荐