上一页 1 ··· 16 17 18 19 20
摘要: Description Igor is in the museum and he wants to see as many pictures as possible. Museum can be represented as a rectangular field of n × m cells. E 阅读全文
posted @ 2018-04-11 20:53 LJZ_C 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to 阅读全文
posted @ 2018-04-09 19:11 LJZ_C 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Description OIER公司是一家大型专业化软件公司,有着数以万计的员工。作为一名出纳员,我的任务之一便是统计每位员工的 工资。这本来是一份不错的工作,但是令人郁闷的是,我们的老板反复无常,经常调整员工的工资。如果他心情好 ,就可能把每位员工的工资加上一个相同的量。反之,如果心情不好,就可能 阅读全文
posted @ 2018-04-09 11:52 LJZ_C 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Description 最近,阿Q开了一间宠物收养所。收养所提供两种服务:收养被主人遗弃的宠物和让新的主人领养这些宠物。每个领养者都希望领养到自己满意的宠物,阿Q根据领养者的要求通过他自己发明的一个特殊的公式,得出该领养者希望领养的宠物的特点值a(a是一个正整数,a include include 阅读全文
posted @ 2018-04-09 11:18 LJZ_C 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Description 如题,已知一棵包含N个结点的树(连通且无环),每个节点上包含一个数值,需要支持以下操作: 操作1: 格式: 1 x y z 表示将树从x到y结点最短路径上所有节点的值都加上z 操作2: 格式: 2 x y 表示求树从x到y结点最短路径上所有节点的值之和 操作3: 格式: 3 阅读全文
posted @ 2018-04-09 08:15 LJZ_C 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Description outputstandard output Rock... Paper! After Karen have found the deterministic winning (losing?) strategy for rock paper scissors, her brot 阅读全文
posted @ 2018-04-09 07:37 LJZ_C 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Description outputstandard output In one kingdom there are n cities and m two way roads. Each road connects a pair of cities, and for each road we kno 阅读全文
posted @ 2018-04-08 12:07 LJZ_C 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 货车运输 Description A 国有 n 座城市,编号从 1 到 n,城市之间有 m 条双向道路。每一条道路对车辆都有重量限制,简称限重。现在有 q 辆货车在运输货物, 司机们想知道每辆车在不超过车辆限重的情况下,最多能运多重的货物。 Input 输入文件名为 truck.in。 输入文件第一 阅读全文
posted @ 2018-04-08 10:28 LJZ_C 阅读(264) 评论(3) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20