Trace a halving loop
หน้านี้ต้องใช้เบราว์เซอร์ล่าสุด (รองรับ SharedArrayBuffer) กรุณาอัปเดต Chrome, Edge, Firefox หรือ Safari เป็นเวอร์ชันล่าสุด
Trace a halving loop
AS 9618 · Trace table
Read the question below and attempt it before opening support. Enter the requested values in order; spaces, commas or line breaks are accepted. The check assesses these structured values, not a written explanation.
Value starts at 19, Count at 0. While Value > 1, replace Value with its integer quotient on division by 2, then increase Count by 1. Give Value and Count AFTER each iteration, one pair per line.