11 2022 档案

摘要:梯度 实验数据: x1 = torch.tensor([1, 2], dtype=torch.float, requires_grad=True) x2 = torch.tensor([3, 4], dtype=torch.float, requires_grad=True) x3 = torch. 阅读全文
posted @ 2022-11-11 19:54 反射狐 阅读(477) 评论(0) 推荐(0)
摘要:前置知识:后缀数组 参考链接: https://blog.csdn.net/u013371163/article/details/60469533 https://www.bilibili.com/video/BV1sb411t79N?from=search&seid=137239550583084 阅读全文
posted @ 2022-11-01 10:22 反射狐 阅读(59) 评论(0) 推荐(0)
摘要:题目:https://vjudge.net/contest/433343#problem/C 题意:给定一个长度为N的序列。可以执行无限次操作(或者0次)。每次操作为,选任意数x,则所有x的倍数下标的数被视为不可用。最后求剩下的可用数之和的最大值。 参考题解: 最大权闭合子图学习博客:https:/ 阅读全文
posted @ 2022-11-01 10:20 反射狐 阅读(81) 评论(0) 推荐(0)