码迷,mamicode.com
首页 >  
搜索关键字:bits    ( 3873个结果
常用库
下面是ACM比赛中常用的几个库 #include<bits/stdc++.h> #include <iostream> #include <cstdio> #include <fstream> #include <algorithm> #include <cmath> #include <deque ...
分类:其他好文   时间:2020-10-13 17:54:20    阅读次数:37
QFNU 10-09 19 Training
B - A Tide of Riverscape CodeForces - 989B 努力把可能不一样的变成不一样的,两种情况。两个一个为“.”,一个为“1”或“0”。第二种是都为“.”。 有这样的就可以不一样。 #include<bits/stdc++.h> using namespace std ...
分类:其他好文   时间:2020-10-13 17:19:55    阅读次数:14
HDU3949XOR(在线询问给定集合能组成的异或和第k小的值)
题:http://acm.hdu.edu.cn/showproblem.php?pid=3949 分析:对查询的k进行二进制分解位上线性基的异或和 #include<bits/stdc++.h> using namespace std; #define pb push_back typedef lo ...
分类:其他好文   时间:2020-10-12 20:30:09    阅读次数:29
【考试反思】联赛模拟测试12 (To be continued)
震惊,我居然不会数细胞。 菜的离谱。 T1: 100 \(\rightarrow\) 80 T4: 20 \(\rightarrow\) 0 T1:松鼠的新家 震惊,我建边居然不开二倍,那没事了。 树上差分裸题。 #include <bits/stdc++.h> using namespace st ...
分类:其他好文   时间:2020-10-09 21:10:31    阅读次数:20
i++和++i的直观比较「控制变量法?」
实验方法 //输出运行时间 #include <bits/stdc++.h> using namespace std; const int MODE = 10000; int main(){ freopen("a1.txt", "w", stdout); int k = 100; while(k-- ...
分类:其他好文   时间:2020-10-09 20:18:04    阅读次数:24
Codeforces Round #663 (Div. 2)训练小结
链接 Virtual participation A. Suborrays 观察发现任何排列均满足题意。 #include<bits/stdc++.h> using namespace std; int N; int main(){ ios::sync_with_stdio(0); cin.tie( ...
分类:其他好文   时间:2020-10-08 19:22:44    阅读次数:15
2019-2020 ICPC Northwestern European Regional Programming Contest (NWERC 2019)
2019-2020 ICPC Northwestern European Regional Programming Contest (NWERC 2019) I-Inverted Deck #include<bits/stdc++.h> using namespace std; const int ...
分类:其他好文   时间:2020-10-07 20:36:52    阅读次数:20
1360 奇怪的电梯(lift)
#include<bits/stdc++.h> using namespace std; struct dt{ int cs,bs; }que[210]; int n,a,b,ans=-1; int yd[205]; int book[205]; int f,r; bool fs=false; vo ...
分类:其他好文   时间:2020-10-07 20:27:24    阅读次数:30
中缀表达式转为后缀表达式
#include <bits/stdc++.h> using namespace std; stack<char> stack_op; stack<int> stack_num; char str[10000]; string change; int pow(int x, int y) { int ...
分类:其他好文   时间:2020-10-06 20:08:42    阅读次数:25
《字符串专题》
查询回文子串个数: #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<double,int> pii; const int N = 3e5+5; const int M = 1e6+5; c ...
分类:其他好文   时间:2020-10-05 22:16:55    阅读次数:30
3873条   上一页 1 ... 21 22 23 24 25 ... 388 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!