当前位置:网站首页>2022/6/9 考试总结
2022/6/9 考试总结
2022-07-27 19:57:00 【迷蒙之雨】
时间安排
7:40~8:00
打表发现了T1的规律,n<=5000可以暴力做,树的形态随机可以枚举深度,然后把同一个深度的一起做,60pts
8:00~8:20
写了T2的10pts爆搜
8:20~8:50
看到生成树计数想到prufer序列,设dp[i][j]表示前i个点放了j次的权值和,枚举这个点选了多少个转移就行了,30pts
9:00~9:15
发现T2的转移可以写成EGF相乘的形式,然后就写了个n^3的暴力卷积验证一下,发现没有问题
9:20~10:00
把EGF都取ln之后相加,最后再exp,想了半天写不出来怎么线性推出ln(F(x)),然后就放弃了
10:00~10:20
写了暴力的n次NTT的50pts,常数有点大,害怕被卡常
10:20~11:00
写T3的暴力,一开始写了个 O ( n 2 Q l o g 2 n ) O(n^2Qlog^2n) O(n2Qlog2n)的做法,怕被卡常就没写,想了一会想出了一个 O ( Q n 3 ) O(Qn^3) O(Qn3)的做法,再优化一下就可以做到 O ( Q n 2 ) O(Qn^2) O(Qn2),写起来也挺好写的
11:00~12:00
想T1的正解和T2的ln的展开式,不过都没有什么进展
边栏推荐
- 一篇搞定Redis中的BigKey问题
- 电磁继电器
- QT common operation collection
- Hill sort of seven sorts
- Android 11 security policy and permission management
- CMOS开关(二)_参数提取
- 2021年福建省职业院校技能大赛(中职组)网络安全竞赛任务书
- Oppo find x2 series release: 3k+120hz curved screen, DxO score first, top version 6999 yuan!
- 【sql】SQL优化
- Cy3荧光标记抗体/蛋白试剂盒 (10~100mg标记量)
猜你喜欢

PyQt5快速开发与实战 4.10 窗口绘图类控件

How to quickly pass the probation period for newly trained intermediate test engineers

带你掌握 Makefile 分析

电磁继电器

CMOS开关(二)_参数提取

Multi tenant SaaS cloud platform framework

Cy3荧光标记抗体/蛋白试剂盒 (10~100mg标记量)

Quartus:Instantiation of ‘sdram_model_plus‘ failed. The design unit was not found.

Optocoupler relay
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled]
随机推荐
PyQt5快速开发与实战 4.9 对话框类控件
SQL注入 Less26a(布尔盲注)
The ordinary way of chasing source code
Vocational school Panyun network security competition ----- exploration of hidden information
Kubernetes二进制部署——理论部分
Feed流应用重构-架构篇
Nodejs NPM common instructions summary
What is the employment prospect of software testing?
项目管理工具禅道
美国疫情扩散到28个州:苹果、微软等10多万员工在家办公,iPhone11快断货了!
温度继电器
The execution process, orphan process and zombie process of fork() function
High frequency relay
[untitled]
带你掌握 Makefile 分析
The purpose of DDD to divide domains, sub domains, core domains, and support domains
联发科携手三星推出全球首款支持Wi-Fi 6的8K电视
[illustration] shake hands three times and wave hands four times - it's enough to read this article carefully
Chapter 8 using web sessions through rest
[SQL] SQL optimization