作业帮 > 英语 > 作业

英语翻译The first line of the input contains exactly one positiv

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/14 02:25:22
英语翻译
The first line of the input contains exactly one positive integer d equal to the number of data sets,1 ≤ d ≤ 10.The data sets follow.
Each data set consists of exactly one line containing exactly one integer n,1 ≤ n ≤ 106.
The output should consists of exactly d lines,one line for each data set.
Line i,1 ≤ i ≤ d,should contain increasing sequence of integers separated by single spaces - the positions of 1's in the binary representation of the i-th input number.
Do not output any spaces in the end of a line
输入的第一行包含一个正整数d恰好等于数据集的数量,1≤ð≤10.几组数据.
每个数据集由包含正好整整一个整数N线,1≤n时≤106.