乐逍遥xwl

导航

上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页

2019年6月17日 #

F-跳跃 牛客假日团队赛2

摘要: 跳跃 题目描述 Farmer John为了满足奶牛对美的享受而安装了人工湖。矩形的人工湖分成M行N列(1 <= M <= 30; 1 <= N <= 30)的方形小格子。有些格子有美丽的荷叶,有些有岩石,剩下的格子有的只是美丽的蓝色湖水。 Bessie通过从一片荷叶跳到另一片荷叶上来练习芭蕾。它现在 阅读全文

posted @ 2019-06-17 18:45 乐逍遥xwl 阅读(153) 评论(0) 推荐(0) 编辑

hdu 1002 A + B Problem II (大数加法)

摘要: A + B Problem II Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Inpu 阅读全文

posted @ 2019-06-17 18:21 乐逍遥xwl 阅读(225) 评论(0) 推荐(0) 编辑

2019年6月11日 #

hdu 2093 考试排名 (模拟)

摘要: 考试排名 Problem Description C++编程考试使用的实时提交系统,具有即时获得成绩排名的特点。它的功能是怎么实现的呢?我们做好了题目的解答,提交之后,要么“AC”,要么错误,不管怎样错法,总是给你记上一笔,表明你曾经有过一次错误提交,因而当你一旦提交该题“AC”后,就要与你算一算帐 阅读全文

posted @ 2019-06-11 21:17 乐逍遥xwl 阅读(340) 评论(0) 推荐(0) 编辑

Codeforces Round #565 (Div. 3) E. Cover it!

摘要: Codeforces Round #565 (Div. 3) E. Cover it! You are given an undirected unweighted connected graph consisting of n vertices and m edges. It is guarant 阅读全文

posted @ 2019-06-11 19:50 乐逍遥xwl 阅读(268) 评论(0) 推荐(0) 编辑

2019年6月10日 #

Codeforces Round #565 (Div. 3) C. Lose it!

摘要: Codeforces Round #565 (Div. 3) C. Lose it! You are given an array a consisting of n integers. Each ai is one of the six following numbers: 4,8,15,16,2 阅读全文

posted @ 2019-06-10 21:57 乐逍遥xwl 阅读(300) 评论(0) 推荐(0) 编辑

Codeforces Round #565 (Div. 3) B. Merge it!

摘要: Codeforces Round #565 (Div. 3) B. Merge it! You are given an array aa consisting of nn integers a1,a2,…,an. In one operation you can choose two elemen 阅读全文

posted @ 2019-06-10 21:45 乐逍遥xwl 阅读(392) 评论(0) 推荐(0) 编辑

Codeforces Round #565 (Div. 3) A. Divide it!

摘要: Codeforces Round #565 A. Divide it! You are given an integer n. You can perform any of the following operations with this number an arbitrary (possibl 阅读全文

posted @ 2019-06-10 21:34 乐逍遥xwl 阅读(251) 评论(0) 推荐(0) 编辑

hdu 1159 Common Subsequence (最长公共子序列)

摘要: Common Subsequence Problem Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a se 阅读全文

posted @ 2019-06-10 15:12 乐逍遥xwl 阅读(129) 评论(0) 推荐(0) 编辑

最长递增长度 (最长上升子序列)

摘要: 最长递增长度 题目描述 给定一个长度为n的整数序列S,求这个序列中最长的严格递增子序列的长度。 输入描述: 第一行,一个整数n (2<=n<=50000),表示序列的长度第二行,有n个整数 (-10^9 <= S[i] <= 10^9),表示这个序列 输出描述: 输出一个整数,表示最长递增子序列的长 阅读全文

posted @ 2019-06-10 14:47 乐逍遥xwl 阅读(2978) 评论(0) 推荐(1) 编辑

2019年6月6日 #

完全背包问题

摘要: 完全背包问题 输入样例 输出样例: 一维优化写法: 阅读全文

posted @ 2019-06-06 21:03 乐逍遥xwl 阅读(117) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页