
思维题
文章平均质量分 79
---cyh---
这个作者很懒,什么都没留下…
展开
-
codeforce-231B--- Magic, Wizardry and Wonders (思维+构造)
B. Magic, Wizardry and Wonderstime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputVasya the Great Magician and Conju原创 2017-08-24 08:54:42 · 386 阅读 · 0 评论 -
POJ-1126——Simply Syntax (暴力扫一遍)
Simply SyntaxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5618 Accepted: 2510DescriptionIn the land of Hedonia the official language is Hedonian. A Hed原创 2017-09-22 22:56:54 · 672 阅读 · 0 评论 -
Codeforces-Bertown Subway(思维)
C. Bertown Subwaytime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputThe construction of subway in Bertown is almost原创 2017-10-27 23:41:12 · 597 阅读 · 0 评论 -
Codeforces- Balanced Substring (思维)
B. Balanced Substringtime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputYou are given a string s consisting only of原创 2017-10-13 20:48:44 · 1070 阅读 · 0 评论 -
Chtholly's request (思维)
B. Chtholly's requesttime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard output— Thanks a lot for today.— I experience原创 2017-12-03 14:38:13 · 1043 阅读 · 0 评论 -
Codeforces-144C-Anagram Search(思维)
C. Anagram Searchtime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputA string t is called an anagram of the string原创 2017-12-05 21:27:26 · 613 阅读 · 0 评论 -
Codeforces-150B-Quantity of Strings(思维)
B. Quantity of Stringstime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputJust in case somebody missed it: this wint原创 2017-12-07 23:03:30 · 739 阅读 · 1 评论 -
Codeforces-194C-Cutting Figure (思维+bfs)
C. Cutting Figuretime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputYou've gotten an n × m sheet of squared paper.原创 2018-01-04 13:09:11 · 374 阅读 · 0 评论 -
牛客多校二--J题 farm
题目链接题意:给出一个n*m的矩阵,矩阵上每个点有一种植物,有T次操作,对于每次操作给出两个殿P1,P2,v,要求给以P1为左上角以P2为右下角的子矩阵中每个植物施种类为v的化肥,如果化肥种类和植物种类不一样,这该点的植物会立马死亡,求T次操作结束之后死亡的植物数量。这题比赛时没想到解题方法,赛后看题解大概有三种解法: 一:二维树状数组 二:线段树+扫瞄线 ...原创 2018-07-25 21:19:32 · 320 阅读 · 0 评论