2717
Angular:error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' mu st be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.
# 解决方案 在`tsconfig.json`的`compilerOptions`选项中添加如下内容`"skipLibCheck": true`。 如下图所示 
P2717 寒假作业 题目传送门 题目背景 zzs 和 zzy 正在被寒假作业折磨,然而他们有答案可以抄啊。 题目描述 他们共有 $n$ 项寒假作业。zzy 给每项寒假作业都定义了一个疲劳值 $a$,表示抄这个作业所要花的精力。 zzs 现在想要知道,有多少组连续的寒假作业的疲劳值的平均值不小于 $ ......