2013年东北赛B题(数位DP)
来源:互联网 发布:java注解使用场景 编辑:程序博客网 时间:2024/04/28 04:32
题目描述:
Number Pairs
Time Limited 1000ms Memory Limited 16M
Description:
Edward finds some Edward Number Pairs,which are defined below:
what's more A and B only contains the digitals of p's digitals. For example,if p is
14,then A and B only contains the digitals of 1 and 4.
Now,you have to help Edward to calculate the number of Edward Number Pairs.
Input:
There are multiple test cases,Each test case contains one integer p in one line.(1<=p<100)
Output:
Calculate the number of Edward Number Pairs.Output the answer in one line after mod 10007.
Sample Input:
9
Sample output:
1
- 2013年东北赛B题(数位DP)
- B-number[数位DP]
- 【数位dp】B-number
- B-number(数位dp)
- 2015年东北四省区域赛——B题题解(Matrix)
- HDU_3652 B-number 数位dp
- 【数位DP】 hdu3652 B-number
- Codeforces 258B 数位DP
- 【hdu3652】【数位DP】B-number
- 【数位DP】B-number HDU3652
- HDU3652:B-number(数位DP)
- hdu3652 B-number (数位DP)
- HDU3652 B-number 数位DP
- codeforces 414b(数位DP)
- hdu3652 B-number 数位dp
- [HDU3652]B-number && 数位DP
- hdu3652 B-number 数位dp
- hdu3652---B-number(数位dp)
- datastage 客户端连接 vmware linux 中datastage 服务器?
- Qt调用dll中的功能函数
- Response对象对象
- android_fragment的介绍
- scheduler 怎样得到 next task_struct
- 2013年东北赛B题(数位DP)
- shell中函数返回的问题
- API设计小手册(上) — 什么是好的API
- 使用Java自带API进行MD5加密
- 天易32----java Junit基础简单的应用
- HOOKS的详细介绍!
- VB.NET三层练习---登录实例
- Linux操作系统分析(5)- 计时器
- 90后的我们懂得什么