码迷,mamicode.com
首页 >  
搜索关键字:ll    ( 5333个结果
6.9 VJ F - Yet Another Tetris Problem
#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
Codeforces Round #648 (Div. 2) (A-F)
这场比赛的题都偏水,比赛的时候切了 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
算法训练-Don't fear, DravDe is kind
#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
271. 杨老师的照相排列
#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
HDOJ1848NIM博弈 SG函数
题目链接: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
HDOJ1527博弈论之Wythoff游戏
题目链接: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
HDOJ1521组合数学 指数型母函数计数
题目链接: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
k8s 之harbor仓库安装(四)
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+母函数
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
5333条   上一页 1 ... 24 25 26 27 28 ... 534 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!