摘要: 题目描述: Password time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Asterix, Obelix and their 阅读全文
posted @ 2019-08-10 22:44 小张人 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Bad Luck Island time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The Bad Luck Islan 阅读全文
posted @ 2019-08-10 20:57 小张人 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Match Points time limit per test 2 seconds memory limit per test 256 mega bytes input standard input output standard output You are given a set 阅读全文
posted @ 2019-08-10 20:35 小张人 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 求逆元的四种算法 拓展欧几里得算法求逆元 "上一篇博客中" 已经讲过拓展欧几里得算法,并且讲解了求逆元的原理。这里只列出代码 在要求逆元的数与p互质时使用 代码 c++ //费马小定理 long long q_pow(long long a,long long b,long long p) { lo 阅读全文
posted @ 2019-08-10 10:44 小张人 阅读(1159) 评论(0) 推荐(0) 编辑
分享到: