Sicily1561——Prime
来源:互联网 发布:什么是数据猿 编辑:程序博客网 时间:2024/06/06 01:10
1561. PRIME
限制条件
时间限制: 1 秒, 内存限制: 32 兆
题目描述
A prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. The first prime number is 2. Can you write a program that computes the nth prime number, given a number n <= 10000?
输入格式
The input contains just one number which is the number n as described above.
The maximum value of n is 10000.
输出格式
The output consists of a single line with an integer that is the nth prime number.
样例输入
30
样例输出
113
0 0
- Sicily1561——Prime
- MST——Prime
- POJ3126——Prime Path
- POJ3126——Prime Path
- POJ1365——Prime Land
- 初学Kruskal——Prime
- POJ3126——Prime Path
- poj3126——Prime Path
- HDU1016—Prime ring Problem
- BFS—POJ3126-Prime Path
- 1016Prime Ring Problem——dfs
- HDU1016——Prime Ring Problem
- HDU 4135——Co-prime
- Codeforces —— 359C Prime Number
- SGU113—— Nearly prime numbers
- poj 2689——Prime Distance
- NOJ——[1361] Prime Again
- POJ3292——Semi-prime H-numbers
- 如何写一个覆盖状态栏的全屏的QML应用
- 【剑指offer】二进制中的1的个数
- SQL语言的分类及表格数据的基本操作
- mysql5.6.30之count(*)详解
- List 篇
- Sicily1561——Prime
- Map 篇
- 软件架构设计-五视图方法论
- 使用ListView显示信息列表
- Java中数组的特性
- AsyncHttpClient请求网络数据小节!
- Xcode SCM系统 使用Git存储库机制之 学习笔记
- hdu1151Air Raid(最小路径)
- jenkinsCI初探(推荐阅读)