#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;/*俄罗斯方块游戏题意:有n个数,从左 ...
分类:
其他好文 时间:
2020-06-09 20:18:52
阅读次数:
45
这场比赛的题都偏水,比赛的时候切了 A ~ E A Matrix Game 刚开始看错题了,以为是不能相邻,然后就不会了. 又读了一遍题,发现不能同行或同列,那就判断一下奇偶性就行了. code: #include <bits/stdc++.h> #define ll long long #defi ...
分类:
其他好文 时间:
2020-06-09 16:36:17
阅读次数:
59
给定n组ai,bi , pi,对于每组数据,求出ai^bi mod pi 的值。 #include<iostream>#include<cstdio>typedef long long ll;using namespace std;int qmi(int a,int b,int p){ int re ...
分类:
其他好文 时间:
2020-06-09 11:20:14
阅读次数:
71
#include using namespace std; int n,dp[100001],v[100001],c[100001],l[100001],r[100001],maxx=0,ok[100001],ll,num=0,m=0; vector hash[100000]; //方法:使用一维数... ...
分类:
编程语言 时间:
2020-06-06 22:02:23
阅读次数:
68
#include using namespace std; typedef long long ll; ll dp[32][32][32][32][32],n,k[5]; //枚举最后一个编号最大的同学的位置,DP代表着abcde及这么多个人的总数,那么a-1bcde的总数也可求得 ll DP(in... ...
分类:
其他好文 时间:
2020-06-06 21:53:40
阅读次数:
99
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1848 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; ...
分类:
其他好文 时间:
2020-06-06 19:00:21
阅读次数:
75
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1527 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; ...
分类:
其他好文 时间:
2020-06-06 18:18:17
阅读次数:
60
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1521 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; ...
分类:
其他好文 时间:
2020-06-06 13:06:06
阅读次数:
56
1.200机器安装harbor仓库 [root@hdss7-200 ~]# mkdir -p /opt/src [root@hdss7-200 ~]# cd /opt/src [root@hdss7-200 src]# ll total 566428 -rw-r--r-- 1 root root 5 ...
分类:
其他好文 时间:
2020-06-06 12:49:16
阅读次数:
60
dp: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; typedef unsigned long long ull; #define pf printf #def ...
分类:
其他好文 时间:
2020-06-06 10:42:55
阅读次数:
57