logic error: cpu assigning incorrect values in for loop

Printable View