Submit solution
Points:
0.50 (partial)
Time limit:
1.0s
Memory limit:
256M
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
In case the statement didn't load correctly, you can download the statement here: Statement
Lưu ý: các bạn không nhập, xuất dữ liệu bằng file kể cả khi đề bài có yêu cầu. Đọc, ghi dữ liệu được thực hiện ở stdin và stdout.
Comments
This comment is hidden due to too much negative feedback. Show it anyway.
Sao tui làm eratosthenes vẫn AC nè
Tại nếu N<10^8 và có nhiều truy vấn thì dùng sàng vẫn đc
linear sieve ❌
linear search ✔️
Bài hay
Nếu trong đoạn không có số nguyên tố nào, in ra "0.00"