当前位置:网站首页>第七周ACM训练报告
第七周ACM训练报告
2022-07-21 05:15:00 【Eloi0424】
个人博客:Eloi-还在前进.
目录
21.11.08 Monday
21.11.09 Tuesday
- 2021 icpc 济南站
- J Determinant
题意:给你矩阵和,矩阵对应行列式的绝对值。
让你判断行列式正负号。
很容易想到我们可以通过高斯消元求行列式的值。
直接判断。
但考虑到数据行列式很大。
我们可先求矩阵行列式加mod取模
再与绝对值比较判断是否为正。
- J Determinant
21.11.10 Wednesday
- 2021 icpc 济南站
- K Search For Mafuyu
简单树上DFS,注意建树时应建双向边
加一个vis数组判断是否已经走过
- K Search For Mafuyu
21.11.4 Thursday
- P3389 【模板】高斯消元法
- 高斯消元解方程
直接套模板
- 高斯消元解方程
21.11.5 Friday
21.11.6 Saturday
- AtCoder Beginner Contest 228
- E - Integer Sequence Fair
—欧拉降幂—
题意:求M ^ ( K ^ N )
由于MOD为质数故MOD与M,K,互质。
MOD欧拉函数的欧拉函数为1
由公式:a^b = {a ^ ( b % f(MOD) +f(MOD) ) } % MOD
f(MOD) 为欧拉函数
故答案为:
M ^ ( K ^ N ) % MOD = {M ^ ( (K^N) % (MOD-1) + (MOD-1) ) }%MOD
- E - Integer Sequence Fair
21.11.7 Sunday
边栏推荐
- 谷歌chrome--xpathhelper安装
- Teach you how to use yolov4 training and testing data set on the server (nanny level)
- 543. 二叉树的直径
- 使用uuid做MySQL主键,被老板,爆怼了一顿
- 概率论-大数定律和中心极限定理
- 01- fundamentals of automated testing -- (selenium eight part + environment configuration + eight positioning)
- Source insight 4.0 personalization and shortcut keys
- 19. 删除链表的倒数第 N 个结点
- The 22 pictures show you in-depth analysis of prefix, infix, suffix expressions and expression evaluation
- Analysis of the characteristics of matter protocol (I) support non matter protocol, private protocol, and technical analysis of matter Bridge
猜你喜欢
2020普及组总结
概率论-大数定律和中心极限定理
Let you know the current situation and future development trend of wireless charging technology
一文讲透,分布式系统的数据分片难题
线性回归大结局(岭(Ridge)、 Lasso回归原理、公式推导),你想要的这里都有
Heap - principle to application - heap sort, priority queue
What impact does the Internet of things have on the development of enterprises?
庖丁解牛斐波拉契数列和背包问题——详细解析两个问题优化过程,带你从最基本的问题看懂动态规划!!!
567. 字符串的排列
994. 腐烂的橘子
随机推荐
深入剖析斐波拉契数列
干货 | 分布式系统的数据分片难题
What are the characteristics and application fields of Bluetooth module in the Internet of things?
Quartz. Net c tutorial - course 5: simpletrigger
234. 回文链表
2021普及组总结
Source Insight 4.0个性化设置及快捷键
What are the problems in the classification and future development of IOT devices?
Which of these five special Bluetooth cores suits your application best
In depth analysis of multiple knapsack problem (Part 2)
029:陶陶摘苹果
006:浮点型数据类型存储空间大小
Verification code is the natural enemy of automation? See how the great God solved it
567. 字符串的排列
机器学习-频率派vs贝叶斯派
04-unittest单元测试框架
深入剖析多重背包问题(下篇)
概率论-假设检验
robotframework--浏览器驱动和操作的实现(1)
International Bluetooth giant Nordic enters the WiFi field