2017年3月25日

CCF201703-1 分蛋糕(100分)

摘要: 试题编号:201703-1试题名称:分蛋糕时间限制:1.0s内存限制:256.0MB问题描述:问题描述 小明今天生日,他有n块蛋糕要分给朋友们吃,这n块蛋糕(编号为1到n)的重量分别为a1, a2, …, an。小明想分给每个朋友至少重量为k的蛋糕。小明的朋友们已经... 阅读全文

posted @ 2017-03-25 15:48 海岛Blog 阅读(350) 评论(0) 推荐(0) 编辑

Project Euler Problem 92 Square digit chains

摘要: Square digit chainsProblem 92A number chain is created by continuously adding the square of the digits in a number to form a new numbe... 阅读全文

posted @ 2017-03-25 08:37 海岛Blog 阅读(124) 评论(0) 推荐(0) 编辑

导航