文章分类 -  ACM

codeforces
摘要:链接:https://ac.nowcoder.com/acm/contest/33467/A 来源:牛客网 优先队列 先放入每个x坐标的最上面的值都优先队列中,然后取出队头,更新该x坐标的下一个值即可。 #include <bits/stdc++.h> using namespace std; #d 阅读全文
posted @ 2022-04-26 21:28 1564269628 阅读(17) 评论(0) 推荐(0) 编辑
摘要:链接:https://ac.nowcoder.com/acm/contest/33338/D 来源:牛客网 思维+构造 递归处理构造题, dg(n) >dg(n - k)这样递归处理! 这道题同理,高中物理知识即可。 #include <bits/stdc++.h> using namespace 阅读全文
posted @ 2022-04-26 21:20 1564269628 阅读(25) 评论(0) 推荐(0) 编辑
摘要:G. Coins Coins 比赛主页 我的提交 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 In the latest activity in the game, you want t 阅读全文
posted @ 2022-04-23 22:16 1564269628 阅读(22) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round #762 (Div. 3)Codeforces Round #762 (Div. 3) A Square String?standard input/output1 s, 256 MB x16578 B Squares and Cubesstandard input/output1 s, 256 MB x12979 1e3^ 阅读全文
posted @ 2022-01-01 11:19 1564269628 阅读(23) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示