ip = input().split(".") int_ = input() bin_str = '' oct_str = '' for i in ip: i = bin(int(i,10))[2:].rjust(8,'0') # 不足八位在左边补0 bin_str += i print(int(bin_str,2)) bin_ = bin(int(int_,10))[2:].rjust(32,'0') for i in range(0,32,8): oct_str += str(int(bin_[i:i+8],2))+"."...