经典题
RookieZQF
尽自己最大努力才能不后悔
展开
-
ZOJ Paint the Grid Reloaded
Description Leo has a grid with N rows and M columns. All cells are painted with either black or white initially. Two cells A and B are called connected if they share an edge and they are in the s翻译 2016-02-29 18:57:09 · 350 阅读 · 0 评论 -
HDU A Simple Problem with Integers
Description Let A1, A2, ... , AN be N elements. You need to deal with two kinds of operations. One type of operation is to add a given number to a few numbers in a given interval. The other is to q翻译 2016-02-29 19:13:16 · 341 阅读 · 0 评论