摘要: class Solution { public: int countPrimes(int n) { int ans = 0; vector <bool> is(n, true); for (int i = 2; i < n; i++) { if (is[i]) { ans++; for (int j 阅读全文
posted @ 2020-12-03 08:43 _西瓜不甜 阅读(50) 评论(0) 推荐(0) 编辑