757B - Bash's Big Day 思路:筛法.将所有因子个数求出,答案就是最大的因子个数,注意全为1的特殊情况. 代码: #include<bits/stdc++.h> using namespace std; #define ll long long #define pb push_back ; }; int main() { ios::sync_with_stdio(false); cin.tie(); int n,a; cin>>n; ;i<n;i++) {…
B. Bash's Big Day time limit per test:2 seconds memory limit per test:512 megabytes input:standard input output: standard output Bash has set out on a journey to become the greatest Pokemon master. To get his first Pokemon, he went to Professor Zulu'…
Product of digits For a given non-negative integer number N , find the minimal natural Q such that the product of all digits of Q is equal N . Input The first line of input contains one positive integer number, which is the number of data sets. Ea…
time limit per test2 seconds memory limit per test512 megabytes inputstandard input outputstandard output Bash has set out on a journey to become the greatest Pokemon master. To get his first Pokemon, he went to Professor Zulu's Lab. Since Bash is Pr…