Nth Prime

2.8

11 votes
Sieve
Problem

Given an integer 1 <= N <= 3000, you have to print the Nth prime number.

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?