2023.10.26 闲话

scanf 挺强的,可以试试 scanf("%[^\n]", s);s 的类型为 char*).

才发现 2022 和 2023 的 HE 省队名额是一样多的。。

久违的闲话

推歌:ねむれわたがし - 一二三 feat. 花奏かのんβ .

Until I End Up Dead - Dream

I got blindsided, couldn't see it in the slightest
That path you walked was the same as mine is
Hard to believe, man, tell me you're lyin'
Uh-uh-uh (Uh-uh-uh)
This is something new
Crying the first time I ever wore a suit
I saw me when I looked at you
So now, I fear one day I'm gonna disappear
Look in the mirror, to make sure I'm still standing here
I been playin' in my head those things I never said
Like, like existential dread
But I'm not stayin' in my mind, I'm livin' like you said
It's gonna be alright until I end up dead
(Dead, dead, dead, dead)
Until I end up dead (Dead, dead, dead, dead)
Until I end up-
Blindsided, so strong why would you hide it?
It's in your bones, man, you had to fight it
Came out of nowhere, now pigs are flying
Mm-mm-mm (Mm-mm-mm)
This is something new (Something new)
Crying the first time I ever wore a suit (Wore a suit)
I saw me when I looked at you
So now, I fear one day I'm gonna disappear
Look in the mirror, to make sure I'm still standing here
I been playin' in my head those things I never said
Like, like existential dread
But I'm not stayin' in my mind, I'm livin' like you said
It's gonna be alright until I end up dead
(Dead, dead, dead, dead)
Until I end up- dead (Dead, dead, dead, dead)
Until I end up dead (Dead, dead, dead, dead)
(I been playin' in my head those things I never said)
(Like, like existential dread)
Until I end up dead (Dead, dead, dead, dead)
(I been playin' in my head those things I never said)
(It's gonna be alright)
Until I end up dead (Dead, dead, dead, dead)
Until I end up dead, I'm gonna be just fine


问题:[0,n]2 上整点凸包大小的上界?

只考虑右下凸包,则凸包的形态可以表示为一堆向量 v(x,y) 之和,需要满足:

  • xy .
  • x,yn .

先考虑满足计算 x,yn 的向量的数量:

i=1nj=1n[ij]=i=1nφ(i)i=1ni=O(n2)

(这里也可以 Θ 不过我懒得整了,就和下面那个方法一样)

对应的,计算这些向量的和以计算真实的 n 的量级:

i=1nj=1n[ij](i+j)=i=1niφ(i)=i=1nμ(i)iS(ni)where S(n)=i=1ni2=Θ(n3i=1nμ(i)i2)=Θ(n3)

(这里必须至少到 Ω(n3) 否则无法进行下一步)

注:i1μ(i)i2=1ζ(2)=6π2 由 DGF 导出 .

那么容易发现答案就是 O(n23)(实际上可以到 Θ,只需要改进第一个不等式的 O).

感谢 APJifengc 的指导 .

posted @   yspm  阅读(86)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
· .NET周刊【3月第1期 2025-03-02】
历史上的今天:
2022-10-26 CF Round #829 题解 (Div. 2)
😅​
点击右上角即可分享
微信分享提示