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

英语翻译
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
痞兮兮 1年前 已收到1个回答 举报

皮子的耳朵 幼苗

共回答了19个问题采纳率:100% 举报

输入的第一行包含一个正整数d恰好等于数据集的数量,1≤ð≤10.几组数据.
每个数据集由包含正好整整一个整数N线,1≤n时≤106.

1年前

10
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.019 s. - webmaster@yulucn.com