摘要: 原题传送门 为什么这题的标签里有搜索。 直接看代码。 #include<bits/stdc++.h> using namespace std; int n; bool f; bool is_prime(int x) { for(int i=2; i*i<=x; i++) {//枚举到sqrt(x)就 阅读全文
posted @ 2023-11-27 18:34 IOI_official 阅读(27) 评论(0) 推荐(0)