a := 256; b := 0;
a = 1 ? False
a := a / 2 = 256 / 2 = 128
b := b + a + 1 = 0 + 128 + 1 = 129
a = 1 ? False
a := a / 2 = 128 / 2 = 64
b := b + a + 1 = 129 + 64 + 1 = 130 + 64 = 194
a = 1 ? False
a := a / 2 = 64 / 2 = 32
b := b + a + 1 = 194 + 32 + 1 = 227
a = 1 ? False
a := a / 2 = 32 / 2 = 16
b := b + a + 1 = 227 + 16 + 1 = 244
a = 1 ? False
a := a / 2 = 16 / 2 = 8
b := b + a + 1 = 244 + 8 + 1 = 253
a = 1 ? False
a := a / 2 = 8 / 2 = 4
b := b + a + 1 = 253 + 4 + 1 = 258
a = 1 ? False
a := a / 2 = 4 / 2 = 2
b := b + a + 1 = 258 + 2 + 1 = 261
a = 1 ? False
a := a / 2 = 2 / 2 = 1
b := b + a + 1 = 261 + 1 + 1 = 263
a = 1 ? True
Ответ
263