The smallest storage unit in a computer is a bit, which has two states of 0 and 1. A byte consists of 8 bits. The number can be memorized by using the storage space of fixed number of bits in different states. If a byte with a total of 8 bits is used to store any one of 0, 1, 2, ..., N, N+1 integers, what is the maximum value of N?
计算机中的最小存储单位是位，位有0和1两个状态．一个字节由8个位构成．利用固定位数的存储空间每位不同的状态可以记忆数字．如果用一个字节共8位记忆0、1、2、…、N、N+1个整数中的任意一个，那么N最大是多少．
<result>255</result>