b4d
public cpp v1 · immutablevoid premakni_stolpce(int t[6][8], int n){ for(int i=0;i<6;i++){ for(int j=8;j>0;j--){ if ((j-n)>=0){ t[i][j]=t[i][j-n]; } else t[i][j]= 0; } }void premakni_stolpce(int t[6][8], int n){ for(int i=0;i<6;i++){ for(int j=8;j>0;j--){ if ((j-n)>=0){ t[i][j]=t[i][j-n]; } else t[i][j]= 0; } }