2017年7月17日

light oj 1102 - Problem Makes Problem组合数学(隔板法)

摘要: 1102 - Problem Makes Problem As I am fond of making easier problems, I discovered a problem. Actually, the problem is 'how can you make n by adding k  阅读全文

posted @ 2017-07-17 10:53 缄默。 阅读(236) 评论(0) 推荐(0) 编辑

2017年7月15日

light oj 1214 - Large Division 大数除法

摘要: 1214 - Large Division Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an i 阅读全文

posted @ 2017-07-15 17:06 缄默。 阅读(224) 评论(0) 推荐(0) 编辑

light oj 1095 - Arrange the Numbers排列组合(错排列)

摘要: 1095 - Arrange the Numbers Consider this sequence {1, 2, 3 ... N}, as an initial sequence of first N natural numbers. You can rearrange this sequence 阅读全文

posted @ 2017-07-15 16:48 缄默。 阅读(231) 评论(0) 推荐(0) 编辑

2017年7月14日

1058 - Parallelogram Counting 计算几何

摘要: 1058 - Parallelogram Counting There are n distinct points in the plane, given by their integer coordinates. Find the number of parallelograms whose ve 阅读全文

posted @ 2017-07-14 10:37 缄默。 阅读(135) 评论(0) 推荐(0) 编辑

light oj 1067 费马小定理求逆元

摘要: 题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1067 1067 - Combinations Given n different objects, you want to take k of them. How many wa 阅读全文

posted @ 2017-07-14 10:18 缄默。 阅读(256) 评论(0) 推荐(0) 编辑

2016年8月22日

HDU 1022

摘要: A - 1 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1022 A - 1 Submit Status Practice HDU 1022 Descr 阅读全文

posted @ 2016-08-22 10:02 缄默。 阅读(109) 评论(0) 推荐(0) 编辑

2016年8月18日

贪心

摘要: 1921: B Description 给定一个长度为n的数字序列a,从中选取一个长为m的子序列b满足 b[i]&b[i-1]!=0 (2<=i<=m)求最大的m。 给定一个长度为n的数字序列a,从中选取一个长为m的子序列b满足 b[i]&b[i-1]!=0 (2<=i<=m)求最大的m。 Inpu 阅读全文

posted @ 2016-08-18 10:31 缄默。 阅读(124) 评论(0) 推荐(0) 编辑

HDU 4994 博弈。

摘要: F - 6 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 4994 F - 6 Submit Status Practice HDU 4994 Descr 阅读全文

posted @ 2016-08-18 09:39 缄默。 阅读(128) 评论(4) 推荐(0) 编辑

2016年8月17日

HDU 5234 背包。

摘要: J - 10 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 5234 J - 10 Submit Status Practice HDU 5234 Des 阅读全文

posted @ 2016-08-17 10:29 缄默。 阅读(157) 评论(0) 推荐(0) 编辑

2016年8月16日

CodeForces 327B 水题。

摘要: I - 9 Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 327B I - 9 Submit Status Practice CodeFo 阅读全文

posted @ 2016-08-16 17:39 缄默。 阅读(151) 评论(0) 推荐(0) 编辑

导航