Meaning of the questions:
A given n, the output of a number, this number requires the sum of all bits divisible by n, and this number is also divisible by n, and a number of bits not to 1e4
answer:
This number n output n times.
#include<iostream> using namespace std; int main(){ int t; scanf("%d",&t); while(t--){ int q; scanf("%d",&q); for(int i=1;i<=q;i++)printf("%d",q); printf("\n"); } return 0; }