上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 38 下一页

2018年1月31日

CodeForces 917A The Monster 贪心+思维

摘要: As Will is stuck in the Upside Down, he can still communicate with his mom, Joyce, through the Christmas lights (he can turn them on and off with his 阅读全文

posted @ 2018-01-31 20:03 九月旧约 阅读(436) 评论(0) 推荐(0) 编辑

2018年1月23日

hdu 1671 Phone List 字典树模板

摘要: Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue liste 阅读全文

posted @ 2018-01-23 15:27 九月旧约 阅读(120) 评论(0) 推荐(0) 编辑

2018年1月21日

HDU 5793 A Boring Question 多校训练

摘要: There are an equation. ∑0≤k1,k2,⋯km≤n∏1⩽j<m(kj+1kj)%1000000007=?∑0≤k1,k2,⋯km≤n∏1⩽j<m(kj+1kj)%1000000007=? We define that (kj+1kj)=kj+1!kj!(kj+1−kj)!(k 阅读全文

posted @ 2018-01-21 22:04 九月旧约 阅读(170) 评论(0) 推荐(0) 编辑

2017年11月14日

2014 北京区域赛 dp

摘要: Matt has N friends. They are playing a game together. Each of Matt’s friends has a magic number. In the game, Matt selects some (could be zero) of his 阅读全文

posted @ 2017-11-14 22:31 九月旧约 阅读(273) 评论(0) 推荐(0) 编辑

Heron and His Triangle 2017 沈阳区域赛

摘要: A triangle is a Heron’s triangle if it satisfies that the side lengths of it are consecutive integers t&#8722;1, t, t+ 1 and thatits area is an intege 阅读全文

posted @ 2017-11-14 21:38 九月旧约 阅读(478) 评论(0) 推荐(0) 编辑

2017年11月7日

poj 2115 求线性同余方程 C Looooops(好理解欧几里德扩展定理怎么应用)

摘要: C Looooops Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 29061 Accepted: 8360 Description A Compiler Mystery: We are given a C-language s 阅读全文

posted @ 2017-11-07 16:56 九月旧约 阅读(194) 评论(0) 推荐(0) 编辑

数论 线性同余方程的应用 poj2891

摘要: Strange Way to Express Integers Time Limit: 1000MS Memory Limit: 131072K Total Submissions: 17321 Accepted: 5828 Description Elina is reading a book w 阅读全文

posted @ 2017-11-07 16:12 九月旧约 阅读(156) 评论(0) 推荐(0) 编辑

2017年11月3日

hdu1576 扩展欧几里德 A/B

摘要: A/B Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6784 Accepted Submission(s): 5389 Problem Des 阅读全文

posted @ 2017-11-03 14:33 九月旧约 阅读(133) 评论(0) 推荐(0) 编辑

2017年11月1日

2015北京区域赛 Xiongnu's Land

摘要: Wei Qing (died 106 BC) was a military general of the Western Han dynasty whose campaigns against the Xiongnu earned him great acclaim. He was a relati 阅读全文

posted @ 2017-11-01 11:00 九月旧约 阅读(200) 评论(0) 推荐(0) 编辑

2017年10月31日

2015北京区域赛 Mysterious Antiques in Sackler Museum 几何基础+思维

摘要: 题意是,选出三个,看看是否可以凑成一个新的矩形。 阅读全文

posted @ 2017-10-31 15:46 九月旧约 阅读(165) 评论(0) 推荐(0) 编辑

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 38 下一页

导航