10 2022 档案
1013 Battle Over Cities(DFS)
摘要:It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that c 阅读全文
posted @ 2022-10-31 23:49 Coder何 阅读(46) 评论(0) 推荐(0)
Are They Equal (25)(模拟)
摘要:题目描述 If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 阅读全文
posted @ 2022-10-24 02:07 Coder何 阅读(31) 评论(0) 推荐(0)
Prime Factors (25)
摘要:题目描述 Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *...*pm^km. 输入描述: 阅读全文
posted @ 2022-10-23 23:25 Coder何 阅读(43) 评论(0) 推荐(0)
Mice and Rice (25)(BFS)
摘要:题目描述 Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a g 阅读全文
posted @ 2022-10-17 00:51 Coder何 阅读(31) 评论(0) 推荐(0)
Total Sales of Supply Chain (25)(BFS)
摘要:题目描述 A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to cus 阅读全文
posted @ 2022-10-02 22:38 Coder何 阅读(37) 评论(0) 推荐(0)