高精度
文章平均质量分 77
zhb1997
OIer
展开
-
bzoj1655 [Usaco2006 Jan] Dollar Dayz 奶牛商店
DescriptionFarmer John goes to Dollar Days at The Cow Store and discovers an unlimited number of tools on sale. During his first visit, the tools are selling variously for $1, $2, and $3. Farmer原创 2014-07-22 21:04:19 · 1128 阅读 · 0 评论 -
bzoj1002[FJOI2007]轮状病毒
给定n(NInput第一行有1个正整数n。Output将编程计算出的不同的n轮状病毒数输出Sample Input3Sample Output16原创 2014-06-01 23:21:52 · 639 阅读 · 0 评论 -
bzoj1754 [Usaco2005 qua]Bull Math
DescriptionBulls are so much better at math than the cows. They can multiply huge integers together and get perfectly precise answers ... or so they say. Farmer John wonders if their answers are c原创 2014-07-12 21:04:02 · 653 阅读 · 0 评论 -
codevs1166 矩阵取数游戏
题目描述 Description【问题描述】帅帅经常跟同学玩一个矩阵取数游戏:对于一个给定的n*m 的矩阵,矩阵中的每个元素aij均为非负整数。游戏规则如下:1. 每次取数时须从每行各取走一个元素,共n个。m次后取完矩阵所有元素;2. 每次取走的各个元素只能是该元素所在行的行首或行尾;3. 每次取数都有一个得分值,为每行取数的得分之和,每行取数的得分= 被取走的元素值*原创 2014-09-22 17:53:21 · 810 阅读 · 0 评论 -
2014.9.13模拟赛【数位和乘积】
数位和乘积(digit.cpp/c/pas)【题目描述】一个数字的数位和乘积为其各位数字的乘积。求所有的N位数中有多少个数的数位和乘积恰好为K。请注意,这里的N位数是可以有前导零的。比如01,02视为二位数,但是他们的数位和乘积都是0。 【输入格式】一行两个整数N,K 【输出格式】一个行一个整数表示结果。 【样例输入】2 3【样例输出】2【样原创 2014-09-13 21:24:51 · 745 阅读 · 0 评论