随笔分类 - STL
摘要:treeset为有序的集合,不含重复元素且有序 import java.util.*;//引用全部 public class Test { public static void main(String[] args) { Scanner sc = new Scanner(System.in); //
阅读全文
摘要:直接上代码: #include <iostream> #include <set> using namespace std; int N; set<int> s; int main() { int a; while (cin >> N) { for (int i = 0; i < N; i++) {
阅读全文

浙公网安备 33010602011771号