int height = 256;
int width = 256;
for(int i = 0; i<width*height; i++){
int column = i-(width*(i/width));
if(column < height/2){
int number = i + width - 1 - column;
printf("%d column %d number\n", column, number);
}
else i+=column-1;
}
谁能解释一下为什么每256个数字总是相同的,如图所示,而它不应该是?如果可以的话,如何解决这个问题?