上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页
摘要: ZOJ Problem Set - 2913Bus PassTime Limit: 5 Seconds Memory Limit: 32768 KBYou travel a lot by bus and the costs of all the seperate tickets are sta... 阅读全文
posted @ 2015-02-26 22:32 daydaycode 阅读(959) 评论(0) 推荐(0) 编辑
摘要: Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M 2 #include 3 #include 4 #include 5 ... 阅读全文
posted @ 2015-02-26 19:23 daydaycode 阅读(177) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 2110Tempter of the BoneTime Limit: 2 Seconds Memory Limit: 65536 KBThe doggie found a bone in an ancient maze, which fascinated h... 阅读全文
posted @ 2015-02-26 18:08 daydaycode 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Frogs' NeighborhoodTime Limit: 5000MSMemory Limit: 10000KTotal Submissions: 7920Accepted: 3392Special JudgeDescription未名湖附近共有N个大小湖泊L1, L2, ..., Ln(其中包... 阅读全文
posted @ 2015-02-26 12:13 daydaycode 阅读(111) 评论(0) 推荐(0) 编辑
摘要: D. Ilya and Escalatortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIlya got tired of sports pr... 阅读全文
posted @ 2015-02-25 14:31 daydaycode 阅读(144) 评论(0) 推荐(0) 编辑
摘要: C. Anya and Smartphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnya has bought a new smart... 阅读全文
posted @ 2015-02-25 11:42 daydaycode 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 问题描述100 可以表示为带分数的形式:100 = 3 + 69258 / 714。还可以表示为:100 = 82 + 3546 / 197。注意特征:带分数中,数字1~9分别出现且只出现一次(不包含0)。类似这样的带分数,100 有 11 种表示法。输入格式从标准输入读入一个正整数N (N 2 #... 阅读全文
posted @ 2015-02-24 07:34 daydaycode 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 问题描述 小明先把硬币摆成了一个 n 行 m 列的矩阵。 随后,小明对每一个硬币分别进行一次 Q 操作。 对第x行第y列的硬币进行 Q 操作的定义:将所有第 i*x 行,第 j*y 列的硬币进行翻转。 其中i和j为任意使操作可行的正整数,行号和列号都是从1开始。 当小明对所有硬币都进行了一... 阅读全文
posted @ 2015-02-20 19:19 daydaycode 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 描述 X 国王有一个地宫宝库。是 n x m 个格子的矩阵。每个格子放一件宝贝。每个宝贝贴着价值标签。 地宫的入口在左上角,出口在右下角。 小明被带到地宫的入口,国王要求他只能向右或向下行走。 走过某个格子时,如果那个格子中的宝贝价值比小明手中任意宝贝价值都大,小明就可以拿起它(当然,也可以... 阅读全文
posted @ 2015-02-20 12:41 daydaycode 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 标题:小朋友排队 n 个小朋友站成一排。现在要把他们按身高从低到高的顺序排列,但是每次只能交换位置相邻的两个小朋友。 每个小朋友都有一个不高兴的程度。开始的时候,所有小朋友的不高兴程度都是0。 如果某个小朋友第一次被要求交换,则他的不高兴程度增加1,如果第二次要求他交换,则他的不高兴程度增加2(即不... 阅读全文
posted @ 2015-02-20 09:45 daydaycode 阅读(212) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页