2018年9月25日

1016B - Segment Occurrences(字符串的匹配)

摘要: 题意:字符串a,字符串b,给你q个区间,让你求a的区间内字符串b出现了多少次 之前用的前缀数组做的,没想起来,发现这个其实也可以 阅读全文

posted @ 2018-09-25 20:33 一只小毛球 阅读(188) 评论(0) 推荐(0) 编辑

Packets 1037A(二进制数)

摘要: 分析:看这个数有多少位二进制数 阅读全文

posted @ 2018-09-25 19:13 一只小毛球 阅读(182) 评论(0) 推荐(0) 编辑

Pythagorean Triples 707C

摘要: Katya studies in a fifth grade. Recently her class studied right triangles and the Pythagorean theorem. It appeared, that there are triples of positiv 阅读全文

posted @ 2018-09-25 16:05 一只小毛球 阅读(179) 评论(0) 推荐(0) 编辑

Turn the Rectangles 1008B

摘要: output standard output output standard output output There are nn rectangles in a row. You can either turn each rectangle by 9090 degrees or leave it 阅读全文

posted @ 2018-09-25 11:11 一只小毛球 阅读(174) 评论(0) 推荐(0) 编辑

Sonya and Exhibition 1004B

摘要: B. Sonya and Exhibition time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Sonya and Exhi 阅读全文

posted @ 2018-09-25 10:31 一只小毛球 阅读(193) 评论(0) 推荐(0) 编辑

导航