上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页

2018年10月21日

摘要: Iahub is very proud of his recent discovery, propagating trees. Right now, he invented a new tree, called xor-tree. After this new revolutionary disco 阅读全文
posted @ 2018-10-21 21:14 Lis~ 阅读(358) 评论(0) 推荐(0) 编辑
 
摘要: Andryusha goes through a park each day. The squares and paths between them look boring to Andryusha, so he decided to decorate them. The park consists 阅读全文
posted @ 2018-10-21 21:03 Lis~ 阅读(313) 评论(0) 推荐(0) 编辑
 

2018年10月17日

摘要: Mahmoud and Ehab continue their adventures! As everybody in the evil land knows, Dr. Evil likes bipartite graphs, especially trees. A tree is a connec 阅读全文
posted @ 2018-10-17 21:57 Lis~ 阅读(194) 评论(0) 推荐(0) 编辑
 

2018年10月14日

摘要: 个人状态原因:尤其是我,在比赛前没有很好的做准备,还一直看小说,前两天我们本来应该好好打两场训练赛的时候却没有打,然后一直在玩手机,比赛前一天,我下午就不小心睡着了,然后晚上醒来睡不着第二天的精神状态非常的不佳 比赛过程:比赛一开始三个人同时去看了最简单那道题,其中一个人先说出了题意,然后我们几个一 阅读全文
posted @ 2018-10-14 21:53 Lis~ 阅读(198) 评论(0) 推荐(0) 编辑
 
摘要: https://blog.csdn.net/yoer77/article/details/70943462 一,01背包 描述:自己背了一个背包,有一个容量,面前有n件物品,每件物品有一个价值一个重量,然后用这个背包去装总价值最多的物品 思路:考虑所有的状态,去遍历每一件物品,然后枚举所有的容量从0 阅读全文
posted @ 2018-10-14 18:16 Lis~ 阅读(135) 评论(0) 推荐(0) 编辑
 

2018年10月5日

摘要: 题目描述 终于活成了自己讨厌的样子。 这是她们都还没长大的时候发生的故事。那个时候,栗子米也不需要为了所谓的爱情苦恼。 她们可以在夏日的午后,花大把的时间去研究生活中一些琐碎而有趣的事情,比如数论。 有一天西柚柚问了栗子米一个题,她想知道中有多少不同的数,这些不同的数字里面第k大的是多少。 输入描述 阅读全文
posted @ 2018-10-05 15:10 Lis~ 阅读(182) 评论(0) 推荐(1) 编辑
 

2018年9月24日

摘要: 题意:给出n个队伍,m个座位,q次A题的队伍与时间,下一行是n个队伍的坐的位置,再下面q行就是第x个队再第y秒A出一道题,然后有一个机器人,开始位置由你选,他每走一步 他就会向右走一格,走到m的时候会再次走到1位置,然后如果一个队在第x秒A出一道题,机器人第y秒才到,那么会有一个不开心值y-x,然后 阅读全文
posted @ 2018-09-24 20:22 Lis~ 阅读(127) 评论(0) 推荐(0) 编辑
 

2018年9月23日

摘要: Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901) 阅读全文
posted @ 2018-09-23 21:43 Lis~ 阅读(332) 评论(0) 推荐(0) 编辑
 
摘要: 唯一分解定理 一个数n肯定能被分解成 n=p1^a1 * p2^a2 . . .*pn^an 因为一个数肯定是由合数和质数构成的,合数又可以分解成质数和合数,最后递归下去就会变成质数的乘积 如 36 -〉 4*9 或者 6*6 -〉 2*3*2*3 -〉2^2*3^2 最后化成了质数相乘的形式 好, 阅读全文
posted @ 2018-09-23 14:43 Lis~ 阅读(4694) 评论(0) 推荐(0) 编辑
 

2018年9月20日

摘要: The young and very promising cryptographer Odd Even has implemented the security module of a large system with thousands of users, which is now in use 阅读全文
posted @ 2018-09-20 19:02 Lis~ 阅读(304) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页