Time limit1000 ms Memory limit131072 kB タナカ氏が HW アールの果樹園を残して亡くなりました。果樹園は東西南北方向に H × Wの区画に分けられ、区画ごとにリンゴ、カキ、ミカンが植えられています。タナカ氏はこんな遺言を残していました。 果樹園は区画単位ででき ...
分类:
其他好文 时间:
2018-08-19 00:57:17
阅读次数:
110
Time limit1000 ms Memory limit65536 kB Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a recta ...
分类:
其他好文 时间:
2018-08-19 00:55:34
阅读次数:
162
Time limit1000 ms Memory limit32768 kB 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。 现在,已知起点和终点,请你 ...
分类:
其他好文 时间:
2018-08-19 00:55:15
阅读次数:
149
Time limit2000 ms Memory limit65536 kB A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence ( ...
分类:
其他好文 时间:
2018-08-19 00:49:54
阅读次数:
153
Time limit1000 ms Memory limit10000 kB 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构成 ...
分类:
其他好文 时间:
2018-08-18 23:38:32
阅读次数:
219
C. The Phone Number time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. The Phone Number t ...
分类:
其他好文 时间:
2018-08-18 23:33:12
阅读次数:
242
Time limit1000 ms Memory limit32768 kB 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们吗? Input输 ...
分类:
其他好文 时间:
2018-08-18 23:30:53
阅读次数:
240
1555: Inversion Sequence Submit Page Summary Time Limit: 2 Sec Memory Limit: 256 Mb Submitted: 519 Solved: 195 Description For sequence i1, i2, i3, … ...
分类:
其他好文 时间:
2018-08-18 22:23:31
阅读次数:
152
1554: SG Value Submit Page Summary Time Limit: 5 Sec Memory Limit: 256 Mb Submitted: 497 Solved: 167 Description The SG value of a set (multiset) is t ...
分类:
其他好文 时间:
2018-08-18 21:46:39
阅读次数:
167
1548: Design road Submit Page Summary Time Limit: 2 Sec Memory Limit: 256 Mb Submitted: 450 Solved: 237 Description You need to design road from (0, 0 ...
分类:
其他好文 时间:
2018-08-18 21:21:57
阅读次数:
183