摘要:
1087: [SCOI2005]互不侵犯King Description 在N×N的棋盘里面放K个国王,使他们互不攻击,共有多少种摆放方案。国王能攻击到它上下左右,以及左上 左下右上右下八个方向上附近的各一个格子,共8个格子。 在N×N的棋盘里面放K个国王,使他们互不攻击,共有多少种摆放方案。国王能 阅读全文
posted @ 2016-08-13 15:56
jhz033
阅读(165)
评论(0)
推荐(0)
摘要:
Corn Fields Time Limit: 2000MS Memory Limit: 65536K Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 1 阅读全文
posted @ 2016-08-13 14:42
jhz033
阅读(141)
评论(0)
推荐(0)
摘要:
D. Petya and His Friends time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Little Petya ha 阅读全文
posted @ 2016-08-13 12:04
jhz033
阅读(187)
评论(0)
推荐(0)


浙公网安备 33010602011771号