06 2022 档案
摘要:http://icpc.upc.edu.cn/problem.php?id=3756 题目描述 从前有一个贸易市场,在一位执政官到来...
阅读全文
摘要:1.树状数组直接求逆序对 采用树状数组标记来求逆序对 #includeusing namespace std;typedef lon...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=1459&pid=4 题目描述 Three frien...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=1459&pid=0 题目 这是一道模板题。 给定一个...
阅读全文
摘要:Beyond compare4 新建一个txt文档,复制以下内容: reg delete "HKEY_CURRENT_USER\So...
阅读全文
摘要:异或求和式 参考于:https://blog.csdn.net/ECNU_LZJ/article/details/72853774?...
阅读全文
摘要:github博客地址 https://github.tim-wcx.ltd/
阅读全文
摘要:2020 icpc asia tehran regional contest E题 Social Distancing 题解 切...
阅读全文
摘要:A题 题解 签到题目,给定三个数a,b和c,选择一个数x,使得x-2 using namespace std; int main...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2597&pid=10 题目描述 Christmas ...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2592&pid=5 题目描述 DIDIDI and ...
阅读全文
摘要:已知二叉树的中序和后序求前序 题目 https://www.luogu.com.cn/problem/P1030 参考于 https...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2590&pid=1 题目描述 Consider a ...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2587&pid=6 题目描述 Bonnie and ...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2586&pid=3 题目描述 We define B...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2585&pid=7 题目描述 Recently, t...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2569&pid=6 题目描述 It is now f...
阅读全文
摘要:http://icpc.upc.edu.cn/status.php?user_id=2019UPC135&cid=1461 题目描述...
阅读全文
摘要:1.暴力 根据阶乘公式展开,时间复杂度较高,且容易炸掉long long 2.借用double暴力来求 http://icpc.up...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?id=14643 题目描述 Find the number o...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2573&pid=6 题目描述 Tom is very...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2573&pid=4 题目描述 Coco is a b...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2564&pid=7 题目描述 You are wor...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2570&pid=6 题目描述 When Mr. B,...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2552&pid=0 题目描述 经过数天的艰苦跋涉,R...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2550&pid=5 题目描述 L国一共有N座城镇,开...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2550&pid=6 题目描述 Rainy7 一天醒来...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2548&pid=4 题目描述 在一片栖息地上有N棵树...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2548&pid=2 题目描述 Rainy7 成为国王...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2535&pid=1 题目描述 eobiyye给了你一...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2526&pid=5 题目描述 在曾经的讲解中,花和他...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?id=16535 题目 16535: Lead of Wisd...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=2539&pid=3 题目描述 Q:KZB 你校本 S...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?id=14881 题目 14881: 会议 题目描述 有一个村...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?id=14581 题目 14581: Knight 题目描述 ...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?id=14866 题目 14866: 高兴天数 题目描述 小X...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?id=14431 题目 14431: 线段 题目描述 平面上有...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1285 Problem Description...
阅读全文
摘要:1.查找元素k的位置 输入 3123 132 1451123 输出 1 代码 #pragma GCC optimize(1)#pra...
阅读全文
摘要:https://www.luogu.com.cn/problem/P3372 线段树区间求和和区间修改模板 #include#def...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=1442&pid=0 题目描述 给定整数N(1≤N≤1...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=1404&pid=5 题目描述 设X是有N个不相同整数...
阅读全文
摘要:欧几里德定理: 对于整数a,b来说,gcd(a, b)==gcd(b, a%b)==d(a与b的最大公约数),又称为辗转相除法 证明...
阅读全文
摘要:http://icpc.upc.edu.cn/problem.php?cid=1461&pid=2 题目描述 校门外有很多树,有苹果...
阅读全文