上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
摘要: 任意门:http://codeforces.com/contest/1114/problem/C C. Trailing Loves (or L'oeufs?) time limit per test 2 seconds memory limit per test 256 megabytes inp 阅读全文
posted @ 2019-02-11 12:46 莜莫 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://codeforces.com/contest/1108/problem/E2 E2. Array and Segments (Hard version) time limit per test 2 seconds memory limit per test 256 megaby 阅读全文
posted @ 2019-02-10 20:19 莜莫 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 传送门:https://www.lydsy.com/JudgeOnline/problem.php?id=2818 2818: Gcd Description 给定整数N,求1<=x,y<=N且Gcd(x,y)为素数的数对(x,y)有多少对. 给定整数N,求1<=x,y<=N且Gcd(x,y)为素数 阅读全文
posted @ 2019-02-09 10:29 莜莫 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 任意门:http://acm.hdu.edu.cn/showproblem.php?pid=2588 GCD Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submissio 阅读全文
posted @ 2019-02-01 21:00 莜莫 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 欧拉函数 定义(by Wikipedia) 在数论中,对正整数n,欧拉函数{\displaystyle \varphi (n)}是小于或等于n的正整数中与n互质的数的数目。此函数以其首名研究者欧拉命名,它又称为φ函数(由高斯所命名)或是欧拉总计函数[1](totient function,由西尔维斯 阅读全文
posted @ 2019-02-01 20:10 莜莫 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 任意门:http://acm.hdu.edu.cn/showproblem.php?pid=6341 Problem J. Let Sudoku Rotate Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K ( 阅读全文
posted @ 2019-01-31 15:37 莜莫 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 任意门:http://acm.hdu.edu.cn/showproblem.php?pid=6342 Problem K. Expression in Memories Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/26214 阅读全文
posted @ 2019-01-29 21:24 莜莫 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 任意门:http://acm.hdu.edu.cn/showproblem.php?pid=6336 Problem E. Matrix from Arrays Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K 阅读全文
posted @ 2019-01-29 16:04 莜莫 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 学习:https://zhuanlan.zhihu.com/p/31872064 快速乘模板 用于计算大数(long long 范围内) a*b mod p 的情况 复杂度:O(1) 模板: 阅读全文
posted @ 2019-01-29 15:25 莜莫 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://acm.hdu.edu.cn/showproblem.php?pid=6343 Problem L. Graph Theory Homework Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 阅读全文
posted @ 2019-01-28 16:37 莜莫 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页