04 2021 档案

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

点击右上角即可分享
微信分享提示