下载:https://www.mobiscroll.com/使用样例<!----手机日期插件:mobiscroll---->
<scriptsrc="../../dep/mobiscroll.datetime-2.17.2.trial/js/mobiscroll.custom-2.17.2.min.js"></script>
<linkhref="../../dep/mobiscroll.datetime-2.17.2.trial/css/..
分类:
移动开发 时间:
2016-05-19 19:33:48
阅读次数:
239
dp[dep][rest]表示长度为dep的F(x)<=rest的数的个数 1 #include<bits/stdc++.h> 2 using namespace std; 3 int dig[15],dp[15][5000]; 4 int dfs(int dep,int rest,int flag ...
分类:
其他好文 时间:
2016-05-19 15:08:17
阅读次数:
106
求所有满足要求的数的平方和 不只是统计个数,而是与每个数得具体取值有关 维护三个值 dp[dep][sum][num].num表示长度为dep的前面的数模7的余数为sum,前面几位数字之和模7为num的满足要求的数的个数 dp[dep][sum][num].sum表示长度为dep的前面的数模7的余数 ...
分类:
其他好文 时间:
2016-05-19 14:56:28
阅读次数:
144
dp[dep][ex][sta]表示长度为dep的,前面出现过的数的集合为ex,不满足要求的数字的集合为sta的满足要求的数的个数 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 ll dp[20] ...
分类:
其他好文 时间:
2016-05-13 09:16:30
阅读次数:
132
对于4139,支点为3,(4-2)*4+(3-2)*1+(2-2)*3+(1-2)*9=0 dp[dep][sum][zzz]表示长度为dep,之前的权值为sum,支点为zzz的平衡数的个数 枚举支点求值 注意0的情况 1 #include<bits/stdc++.h> 2 using namesp ...
分类:
其他好文 时间:
2016-05-13 08:50:40
阅读次数:
176
题目要求统计小于等于n的既含有子串13,又是13的倍数的数的个数 ans=n-小于等于n的不含子串13或不是13倍数的数的个数 dp[dep][one][thirteen][yu]表示长度为dep,上一个数是否为1,之前的数是否包含13,之前的数模13的余数为yu的数的个数 之前状态没考率全面,狗带 ...
分类:
其他好文 时间:
2016-05-13 07:24:44
阅读次数:
141
dp[dep][four]表示长度为dep的上一个是否为4的不含子串49的数的个数 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 ll dp[20][2]; 5 int dig[20]; 6 ll ...
分类:
其他好文 时间:
2016-05-11 21:32:41
阅读次数:
185
dp[dep][six]表示长度为dep的,上一位是否为6的不含62,不含4的数的个数 1 #include<bits/stdc++.h> 2 using namespace std; 3 int dp[10][2],dig[10]; 4 int dfs(int dep,int six,int fl ...
分类:
其他好文 时间:
2016-05-11 19:46:40
阅读次数:
165
一、Stun 用stund-0.97客户端来测试本机的NAT类型。 zlz@freescale:~/study/stund$ ./client stun.ekiga.net STUN client version 0.97 Primary: Independent Mapping, Port Dep ...
分类:
其他好文 时间:
2016-05-11 19:30:34
阅读次数:
314
同事求救, 说重启了一下debian, 系统就挂了.
报如下错误
```
loading, please wait...
/dev/mapper/debian--vg-root contains a file system with errors,check the file system.
/dev/mapper/debian-vg-root:
Inodes that were pa...
分类:
移动开发 时间:
2016-05-06 15:37:46
阅读次数:
328