Efficient way for checking number 3^x * 5^y

后端 未结 0 1363
执笔经年
执笔经年 2020-12-07 03:23

I want to check if number, based on lower and upper bound, has prime divisors only 3 and 5 and number should be multiplication of power of 3 and power of 5. My current solut

相关标签:
回答
  • 消灭零回复
提交回复
热议问题