DescriptionAsequenceofN integersI1,I2…Infromtheset{-1,0,1}isgiven.Thebytecomputerisadevicethatallowsthefollowingoperationonthesequence:incrementingI(i+1)byI(i)forany1<=I<=N.Thereisnolimitontherangeofintegersthebytecomputercanstore,i.e.,eachI(i)can(inprinciple)havearbitrarilysmallorlargevalue.Programthebytecomputersothatittransformstheinputsequenceintoanon-decreasingsequence(i...
近期评论