上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 36 下一页
摘要: 排序+二分 class Solution { class pair { int x,y; p... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 最新版链接:https://survivesjtu.gitbook.io/survivesjtumanual/ 旧版:https:/... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 暴搜 只能过50% import java.util.*;public class Main{ static int n,N=10... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 答案:10266837 import java.util.*;public class Main{ static int a[][... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 答案:2430 搜索 import java.util.*;public class Main{ static int a[]=n... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 一般式Ax+By+C=0 A=y1-y2B=x2-x1C=x1y2-x2y1当保证AB互质时,三个参数唯一确定一条平面直线记忆:由k... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 答案:40257 由给定两点求直线的一般式Ax+By+C=0;A=y1-y2B=x2-x1C=x1y2-x2y1当保证AB互质时,... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 小明有 n 颗石子,按顺序摆成一排。 他准备用胶水将这些石子粘在一起。 每颗石子有自己的重量,如果将两颗石子粘在一起,将合并成一颗新... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 小明正在做一个网络实验。 他设置了 n 台电脑,称为节点,用于收发和存储数据。 初始时,所有节点都是独立的,不存在任何连接。 小明可... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 给定一个长度为 n 的数组 A1,A2,⋅⋅⋅,An。 你可以从中选出两个数 Ai 和 Aj(i 不等于 j),然后将 Ai 和 A... 阅读全文
posted @ 2022-11-17 23:03 林动 阅读(29) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 36 下一页