04 2021 档案
摘要:###整数二分算法模板 #include <iostream> #include <algorithm> using namespace std; int t, flag = 0; int a[100]; int bisearch_1(int l , int r) { //返回数组中第一个大于或等与
阅读全文
摘要:std::ios::sync_with_stdio(false); 只要背下了这句话,你就可以肆无忌惮地使用 cin 和 cout !这个优化能使 cin 和 cout 的速度基本和 scanf、printf 一致。 但是有一点要注意,当使用了这个优化后,———只能使用 cin、cout,不能使用
阅读全文