第 n 小的质数

Luogu
IDLGB2085
Time1000ms
Memory128MB
DifficultyP1
循环结构
输入一个正整数 $n$,求正整数范围中第 $n$ 小的质数。 ## Input 一个不超过 $30000$ 的正整数 $n$。 ## Output 第 $n$ 小的质数。 [samples]
Samples
Input #1
10
Output #1
29
API Response (JSON)
{
  "problem": {
    "name": "第 n 小的质数",
    "description": {
      "content": "输入一个正整数 $n$,求正整数范围中第 $n$ 小的质数。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 131072
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2085"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "输入一个正整数 $n$,求正整数范围中第 $n$ 小的质数。\n\n## Input\n\n一个不超过 $30000$ 的正整数 $n$。\n\n## Output\n\n第 $n$ 小的质数。\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments