上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 98 下一页
摘要: 二进制文件写: 二进制文件读: 二进制文件修改: 文件拷贝: 阅读全文
posted @ 2019-01-22 22:40 Veritas_des_Liberty 阅读(257) 评论(0) 推荐(0)
摘要: We have a two dimensional matrix A where each value is 0 or 1. A move consists of choosing any row or column, and toggling each value in that row or c 阅读全文
posted @ 2019-01-22 20:19 Veritas_des_Liberty 阅读(193) 评论(0) 推荐(0)
摘要: At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one at a time (in the order specified by bil 阅读全文
posted @ 2019-01-22 19:18 Veritas_des_Liberty 阅读(214) 评论(0) 推荐(0)
摘要: Given a string S of digits, such as S = "123456579", we can split it into a Fibonacci-like sequence [123, 456, 579]. Formally, a Fibonacci-like sequen 阅读全文
posted @ 2019-01-22 19:01 Veritas_des_Liberty 阅读(348) 评论(0) 推荐(0)
摘要: N couples sit in 2N seats arranged in a row and want to hold hands. We want to know the minimum number of swaps so that every couple is sitting side b 阅读全文
posted @ 2019-01-22 17:57 Veritas_des_Liberty 阅读(320) 评论(0) 推荐(0)
摘要: A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one p 阅读全文
posted @ 2019-01-10 20:55 Veritas_des_Liberty 阅读(271) 评论(0) 推荐(0)
摘要: 这是一个签到题 这是一个签到题 这是一个签到题 Description 众所周知,中国矿业大学将在2019年6月1日迎来建校110周年。但是Alice想知道在哪一年中国矿业大学会迎来n周年纪念。 Input 一行,一个整数n(1<=n<=200),代表中国矿业大学n周年。 Output 在一行中输出 阅读全文
posted @ 2019-01-10 19:31 Veritas_des_Liberty 阅读(340) 评论(0) 推荐(0)
摘要: An integer interval [a, b] (for integers a < b) is a set of all consecutive integers from a to b, including a and b. Find the minimum size of a set S 阅读全文
posted @ 2019-01-09 22:36 Veritas_des_Liberty 阅读(373) 评论(0) 推荐(0)
摘要: Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits. (Recall that an integer has m 阅读全文
posted @ 2019-01-09 21:05 Veritas_des_Liberty 阅读(239) 评论(0) 推荐(0)
摘要: 描述 魔兽世界的西面是红魔军的司令部,东面是蓝魔军的司令部。两个司令部之间是依次排列的若干城市,城市从西向东依次编号为1,2,3 .... N ( N <= 20 )。红魔军的司令部算作编号为0的城市,蓝魔军的司令部算作编号为N+1的城市。司令部有生命元,用于制造武士。 两军的司令部都会制造武士。武 阅读全文
posted @ 2019-01-07 12:26 Veritas_des_Liberty 阅读(548) 评论(0) 推荐(0)
上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 98 下一页