while(line = readline()) { var a = line.trim().split('.').map(Number); var aNum2Arr = a.map((item) => item.toString(2).padStart(8, '0')); var aNum10 = parseInt(aNum2Arr.join(''), 2); console.log(aNum10); var b = +readline(); var bNum2 = b.toString(2).padStart(32, '0'); var rArr = []; ...