描述 hwf 是一个非常喜欢吃披萨的人。某天,天上掉下了一张披萨,被 hwf 和高老师看到了。 高老师把披萨分 […]
百练 2759 — 神奇的口袋(2)
描述 有一个神奇的口袋,总的容积是400,用这个口袋可以变出一些物品,这些物品的总体积必须是400。John现 […]
百练 2755 — 神奇的口袋
描述 有一个神奇的口袋,总的容积是40,用这个口袋可以变出一些物品,这些物品的总体积必须是40。John现在有 […]
POJ 3253 — Fence Repair
Description Farmer John wants to repair a small length […]
POJ 3069 — Saruman’s Army
Description Saruman the White must lead his army along […]
POJ 3617 — Best Cow Line
Description FJ is about to take his N (1 ≤ N ≤ 2,000) c […]
POJ 2386 — Lake Counting
Description Due to recent rains, water has pooled in va […]
POJ 1852 — Ants
Description An army of ants walk on a horizontal pole o […]
挑战程序设计竞赛(第2版)1.6.1 先从简单题开始 — 三角形
题目 有n根棍子,棍子i的长度为ai。想要从中选出3根棍子组成周长尽可能长的三角形。请输出最大的周长,若无法组 […]
Vijos 1047 — 最小公倍数
描述 给出两个正整数a,b(1<=a,b<=10^100),求这两个数的最小公倍数。 题目链接 h […]