数学
左眼皮跳跳~
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 1365 Prime Land
POJ 1365 Prime Land 快速幂原创 2014-08-02 18:40:39 · 795 阅读 · 0 评论 -
ZOJ 3870 Team Formation(数学)
Team Formation Time Limit: 3 Seconds Memory Limit: 131072 KB For an upcoming programming contest, Edward, the headmaster of Marjar University, is forming a two-man team from N student原创 2015-04-25 22:50:42 · 664 阅读 · 0 评论 -
CSU 1563: Lexicography (数学计数问题)
1563: Lexicography Time Limit: 1 Sec Memory Limit: 128 MB Submit: 342 Solved: 111 [Submit][Status][Web Board] Description An anagram of a string is any string that can be formed using the原创 2015-05-04 19:45:33 · 720 阅读 · 0 评论 -
CF 301 B School Marks
B. School Marks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Little Vova studies programming in an elite原创 2015-05-01 08:42:12 · 959 阅读 · 0 评论 -
wust 1420 We love FibonaQ(矩阵+线段树)
1420: We love FibonaQ Time Limit: 3 Sec Memory Limit: 128 MB 64bit IO Format: %lld Submitted: 7 Accepted: 3 [Submit][Status][Web Board] Description You will find CQ is a very bored man wh原创 2015-05-30 17:05:32 · 1097 阅读 · 0 评论 -
hdu 5317 RGCDQ
RGCDQ Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 309 Accepted Submission(s): 156 Problem Description Mr. Hdu is interested原创 2015-07-28 19:48:36 · 826 阅读 · 0 评论 -
HDU 2276 Kiki & Little Kiki 2(矩阵快速幂)
Kiki & Little Kiki 2 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2265 Accepted Submission(s): 1146 Problem Description There原创 2015-08-25 18:37:43 · 587 阅读 · 0 评论 -
Uva 12075 Counting Triangles(容斥)
/* 思路:1.先选三个点 2.去掉同行情况 3.去掉同列情况 4.枚举矩形大小去掉重复情况 */ #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #include #include #include #include #include #include #in原创 2015-08-19 16:22:15 · 865 阅读 · 2 评论 -
Light oj 1095 - Arrange the Numbers(错排)
1095 - Arrange the Numbers PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Consider this sequence {1, 2, 3 ... N}, as an initial se原创 2015-09-22 20:29:24 · 511 阅读 · 0 评论 -
ZOJ 3872 Beauty of Array(数学)
Beauty of Array Time Limit: 2 Seconds Memory Limit: 65536 KB Edward has an array A with N integers. He defines the beauty of an array as the summation of all distinct integers in the a原创 2015-04-25 22:31:21 · 995 阅读 · 0 评论 -
HDU 5194 DZY Loves Balls(排列组合瞎搞 )
Problem Description There are n black balls and m white balls in the big box. Now, DZY starts to randomly pick out the balls one by one. It forms a sequence S. If at the i-th operation,原创 2015-03-28 22:36:58 · 1332 阅读 · 0 评论 -
HDU 5187 zhx's contest(防爆__int64 )
Problem Description As one of the most powerful brushes, zhx is required to give his juniors n problems. zhx thinks the ith problem's difficulty is i. He wants to arrange these problems in a原创 2015-03-14 23:14:38 · 1447 阅读 · 0 评论 -
HDU 1030 数学
hdu1030 数学题 简单数学题,找规律,找到了就发现很水。 从三个角度看这个图,level,left,right,如下图,题目的答案就是3个图上2个点之间的层数的高度差之和。 例如 6 12 ,level=1,left=1,right=1,答案就是3。 例如 3 12 ,level=2,left=1,right=2,答案就是6。 #转载 2014-07-29 21:18:28 · 795 阅读 · 0 评论 -
HDU 1604 (数论)
此题感觉好难,比赛时推两个小时转载 2014-07-31 20:36:42 · 994 阅读 · 1 评论 -
POJ 1840 数学
POJ 1840 数学原创 2014-08-19 19:53:53 · 751 阅读 · 0 评论 -
POJ 3370 Halloween treats(抽屉原理)
POJ 3370 Halloween treats(抽屉原理)原创 2014-08-20 09:02:24 · 1168 阅读 · 0 评论 -
HDU 5073 Galaxy(居然是暴力)
Problem Description Good news for us: to release the financial pressure, the government started selling galaxies and we can buy them from now on! The first one who bought a galaxy was Tianming Yun an原创 2014-10-23 19:32:41 · 1012 阅读 · 0 评论 -
HDU 5108Alexandra and Prime Numbers(大素数)
Problem Description Alexandra has a little brother. He is new to programming. One day he is solving the following problem: Given an positive integer N, judge whether N is prime. The problem above is原创 2014-11-22 21:16:37 · 937 阅读 · 0 评论 -
poj3070 Fibonacci(矩阵乘法初学)
Language: Default Fibonacci Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9972 Accepted: 7114 Description In the Fibonacci integer sequence, F0 = 0原创 2015-02-17 16:48:32 · 510 阅读 · 0 评论 -
HDU5171 GTY's birthday gift(矩阵快速幂)
Problem Description FFZ's birthday is coming. GTY wants to give a gift to ZZF. He asked his gay friends what he should give to ZZF. One of them said, 'Nothing is more interesting than a number multis原创 2015-02-19 16:33:56 · 1143 阅读 · 0 评论 -
LeetCode 650. 2 Keys Keyboard
650. 2 Keys Keyboard DescriptionHintsSubmissionsDiscussSolution Pick One Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step: Cop...原创 2018-07-23 00:16:14 · 242 阅读 · 0 评论
分享