上一页 1 2 3 4 5 6 7 8 9 10 ··· 38 下一页
摘要: CodeForces 1348-C Phoenix and Distribution(字典序) https://codeforces.com/contest/1348/problem/C 题意: 给你一个长度为n的字符串,要求你将它的字符分为k份,每份个数至少有1个,使得新组合的字符串中字典序最大的 阅读全文
posted @ 2020-05-02 15:50 jiamian22 阅读(303) 评论(0) 推荐(0) 编辑
摘要: CodeForces 1348-B Phoenix and Beauty(思维、子序列和相等) https://codeforces.com/contest/1348/problem/B 题意: 给出一个n个数的序列a,可以向这个序列中的任意地方插入1-n中的数,问是否可以使得插入过后这个序列其长度 阅读全文
posted @ 2020-05-02 15:22 jiamian22 阅读(361) 评论(0) 推荐(0) 编辑
摘要: CodeForces 1348-A Phoenix and Balance(思维) https://codeforces.com/contest/1348/problem/A 题意: 把21,22,23,24,……2n(n为偶数)均分成两部分,求他们的最小差值 思路: 我们知道21+22+23+24 阅读全文
posted @ 2020-05-02 15:07 jiamian22 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/5338/C来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 题目描述 小雨所在的城市一共有 m 条地铁线, 阅读全文
posted @ 2020-04-30 23:44 jiamian22 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 牛客算法周周练3 - Sunscreen(贪心) 链接:https://ac.nowcoder.com/acm/contest/5338/E来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题 阅读全文
posted @ 2020-04-30 17:14 jiamian22 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 牛客算法周周练3 - 表达式求值(模拟、栈) 链接:https://ac.nowcoder.com/acm/contest/5338/D来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题 阅读全文
posted @ 2020-04-30 13:59 jiamian22 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 牛客算法周周练2 - 水题(water)(斐波那契、Z皇后、阶乘在m进制下末尾0的个数) 链接:https://ac.nowcoder.com/acm/contest/5203/E来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64b 阅读全文
posted @ 2020-04-25 01:33 jiamian22 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 牛客算法周周练2 - 小H和游戏(DFS) 链接:https://ac.nowcoder.com/acm/contest/5203/D来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目 阅读全文
posted @ 2020-04-24 14:20 jiamian22 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/5203/B来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 Listening to the mu 阅读全文
posted @ 2020-04-24 02:26 jiamian22 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/91/L?&headNav=www来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 给一个数组 a, 阅读全文
posted @ 2020-04-24 02:10 jiamian22 阅读(3247) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 38 下一页