题目链接:1332: Prime Factors

Description

I’ll give you a number , please tell me how many different prime factors in this number.

Input

There is multiple test cases , in each test case there is only one line contains a number N(2<=N<=100000). Process to the end of file.

Output

For each test case , output one line contains one number , indicating different prime factor in the number N.

Sample Input

2
16
124
1235
12346

Sample Output

1
1
2
3
2

HINT

2 = 2

16 = 2 × 2 × 2 × 2

124 = 2 × 2 × 31

1235 = 5 × 13 × 19

12346 = 2 × 6173

分析

最新文章

  1. DataAccess通用数据库访问类,简单易用,功能强悍
  2. Mvc 之System.Web.Optimization 压缩合并如何让*.min.js 脚本不再压缩
  3. CentOS 7部署Node.js+MongoDB:在VPS上从安装到Hello world
  4. ios中文转码的一个奇葩问题
  5. rqnoj28[stupid]愚蠢的宠物
  6. mysql查看数据库
  7. Genymotion关于【启动后player.exe已停止运行】解决方案总结
  8. Node.js的线程和进程
  9. centos 7
  10. PHP 操作socket 实现简易聊天室
  11. 42.Android之ListView中ArrayAdapter简单学习
  12. sql server 与oracle数据互导的一种思路--sql server链接服务器
  13. Leetcode#129 Sum Root to Leaf Numbers
  14. HDU 1568 Fibonacci 数学= = 开篇
  15. FFT(快速傅里叶变换):UVAoj 12298 - Super Poker II
  16. OpenGL学习--------动画制作
  17. 腾讯工程师教你玩转 RocksDB
  18. hadoop2.6.0实践:控制台入口url列表
  19. Yii2的Gridview应用技巧补充
  20. php base64图片保存

热门文章

  1. DH密钥加解密
  2. TextBox光标定位到文本末尾
  3. Spring源码之DefaultListableBeanFactory及资源载入
  4. vue入门|ElementUI使用指南
  5. spring-data-mongodb中的MongoTemplate与MongoRepository及推荐
  6. C# 获取Windows 设备信息
  7. vue-router 使用query传参跳转了两次(首次带参数,跳转到了不带参数)
  8. 搭建Nuxt项目(搭配Element UI、axios)
  9. 悟空CRM(基于jfinal+vue+ElementUI的前后端分离的开源CRM系统)
  10. 修改jar包内容并打包上传到私服