父组件
<template><div><h1>我是父组件 {{num}}</h1><hr><child></child></div>
</template><script setup>
import child from ./child.vue;
import { ref,provide } from vue;
let num ref(520)
provide(pare…
D - Sum of Large Numbers
不考虑 1 0 100 10^{100} 10100的情况下,检查能取到的最大和与最小和,此时中间的所有数都能取到 给出 1 0 100 10^{100} 10100的用意在于,确保取2个数与取3个数下面取到的和是不相同的。因此遍历取数的个数&#x…