码迷,mamicode.com
首页 >  
搜索关键字:hdu 1075 what are yo    ( 36367个结果
【思考工具】5W2H法:集齐7个问题,让思维更缜密
举个例子: “把这份报告复印一下”。 5W2H Who: 小张 What:复印报告 How: 用高品质复印 When:下班前 Where: 总经理办公室 How many:2份 Why:给客户做参考 整理后: “请你将这份报告复印2份,在下班前送到总经理办公室交给总经理。请留意复印的质量,总经理要带 ...
分类:其他好文   时间:2020-03-16 09:51:42    阅读次数:53
B-number HDU - 3652 数位dp
``` //dp[i][j][0]表示i位数模13为j当前没有包含13并且最高位不为1的方案数; //dp[i][j][1]表示i位数模13为j当前没有包含13并且最高位为1的方案数; //dp[i][j][2]表示i位数模13为j当前包含13的方案数。 #include #include #inc... ...
分类:其他好文   时间:2020-03-15 21:55:56    阅读次数:59
不要62 HDU - 2089 数位dp
``` //f[i,j]一共有i位数字,且最高位是j,而且不包括4和64的数的个数 //f[i-1,k] 表示次高位为k //如果合法,那么需要满足 j、k都不为4 jk不是62 #include #include #include #include using namespace std; con... ...
分类:其他好文   时间:2020-03-15 15:06:35    阅读次数:52
Bomb HDU - 3555 数位dp
``` #include #include #include #include using namespace std; typedef long long ll; const int N = 35; ll n; ll f[N][30]; void init() { //处理一位的数字 for (i... ...
分类:其他好文   时间:2020-03-15 15:05:02    阅读次数:51
Cyber Security - Palo Alto Security Policies(1)
Security policies: Enforcing network traffic by configuring rules of what is allowed or denied to communicate between logical network segments (zones) ...
分类:其他好文   时间:2020-03-15 13:43:44    阅读次数:53
hdu 2674 N!Again
Problem Description WhereIsHeroFrom: Zty, what are you doing ?Zty: I want to calculate N!......WhereIsHeroFrom: So easy! How big N is ?Zty: 1 <=N <=10 ...
分类:其他好文   时间:2020-03-14 23:37:48    阅读次数:74
A - Rikka with Nash Equilibrium HDU - 6415
首先可以发现,数字从高到低,每一个数字只能放在已经放了的数字所在的行和列中。 因此我们可以得出一个dp 令dp[k][i][j]表示已经有i行,j列被覆盖,同时拥有k个数字。 所以每一次转移,只会多出一行,或者一列,或者都没有。 这道题极度卡常。我今天比赛交了13发才过,注意模运算,乘法次序等。 ...
分类:其他好文   时间:2020-03-14 22:08:52    阅读次数:61
HDU 1237 简单计算器 —— stack、stringstream 的使用
题目描述 http://acm.hdu.edu.cn/showproblem.php?pid=1237 代码示例 #include<iostream> #include<stack> #include<string> #include<sstream> using namespace std; in ...
分类:其他好文   时间:2020-03-14 22:04:27    阅读次数:54
水果 / HDU - 1263
夏天来了~~好开心啊,呵呵,好多好多水果~~ Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了. Input 第一行正整数N(0 using namespace std; int n, m, c ...
分类:其他好文   时间:2020-03-14 19:48:24    阅读次数:58
[记录] Disruptor 介绍
Dissecting the Disruptor: What's so special about a ring buffer? Trisha's Ramblings: Dissecting the Disruptor: Why it's so fast (part one) - Locks Are ...
分类:其他好文   时间:2020-03-14 15:06:15    阅读次数:70
36367条   上一页 1 ... 54 55 56 57 58 ... 3637 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!