java
文章平均质量分 81
alex_yuqian
这个作者很懒,什么都没留下…
展开
-
POJ 1218: Method of simulation
1)Problem overview A prison warden was drunk and opened every door of the prison (suppose there were n doors); Then start from door 1 and close one door every other (close the door with multiple of 2); Then start from door 1 and operate one door every two原创 2021-08-16 11:29:34 · 236 阅读 · 2 评论 -
POJ 3369: pruning calculations
Theme: The grocery store clerk can’t distinguish the symbols of addition and multiplication, so they expect to buy the same products. Requirements, output all four numbers a, B, C, D, meet a + B + C + D = = a * b * c * d < = 20, a, B, C, D requires 2 ..原创 2021-03-14 14:07:19 · 240 阅读 · 8 评论