摘要:
题目链接: https://agc007.contest.atcoder.jp/tasks/agc007_fF - Shik and Copying StringTime limit : 2sec / Memory limit : 256MBScore : 1500... 阅读全文
摘要:
题目链接地址:https://agc007.contest.atcoder.jp/tasks/agc007_d EditorialD - Shik and GameTime limit : 2sec / Memory limit : 256MBScore : 1200... 阅读全文
摘要:
地址: https://nanti.jisuanke.com/t/25985判断一个数是不是素数, 当数#includeusing namespace std;typedef unsigned long long ll;inline ll mull(ll a,ll ... 阅读全文
摘要:
Contiguous Repainting时间限制: 2 Sec 内存限制: 256 MB提交: 69 解决: 22[提交][状态][讨论版][命题人:admin]题目描述There are N squares aligned in a row. The i-th... 阅读全文
摘要:
Hidden Hierarchy时间限制: 1 Sec 内存限制: 512 MB提交: 84 解决: 11[提交][状态][讨论版][命题人:admin]题目描述You are working on the user interface for a simple... 阅读全文
摘要:
Installing Apps时间限制: 2 Sec 内存限制: 128 MB提交: 170 解决: 24[提交][状态][讨论版][命题人:admin]题目描述Sandra recently bought her first smart phone. One of... 阅读全文
摘要:
Juggling Troupe时间限制: 3 Sec 内存限制: 128 MB提交: 39 解决: 8[提交][状态][讨论版][命题人:admin]题目描述At the national centre for computing and advanced ci... 阅读全文
摘要:
Teleporter时间限制: 1 Sec 内存限制: 256 MB提交: 75 解决: 15[提交][状态][讨论版][命题人:admin]题目描述There are N towns in Snuke Kingdom, conveniently... 阅读全文
摘要:
Colorful Slimes时间限制: 2 Sec 内存限制: 256 MB提交: 235 解决: 36[提交][状态][讨论版][命题人:admin]题目描述Snuke lives in another world, where slimes ... 阅读全文
摘要:
题目链接:点击打开链接B 题思路查询 暴力 一定是会超时的, 所以肯定用树状数组或者 线段树进行 logn 级别的查询。但是题目又想要求满足, 在满足的情况下尽可能的选择前面, 用线段树 维护, 得到的就是答案;【code】#include #in... 阅读全文