08 2024 档案
摘要:https://leetcode.cn/problems/shortest-distance-after-road-addition-queries-i/description/ 这个题分两个版本,一个简单的,一个困难的。 给你一个整数\(n\) 和一个二维整数数组 \(queries\)。 有\(
阅读全文
posted @ 2024-08-18 15:52
lipu123
摘要:下载地址 https://base.ustc.edu.cn/data/JunyiAcademy_Math_Practicing_Log/ junyi数据集说明 data source Authorization Any form of commercial usage is not allowed!
阅读全文
posted @ 2024-08-13 10:08
lipu123
摘要:给你一个长度为\(n\)的整数数组\(nums\),\(n\)是 偶数 ,同时给你一个整数\(k\) 。 你可以对数组进行一些操作。每次操作中,你可以将数组中 任一 元素替换为\(0\)到\(k\)之间的 任一 整数。 执行完所有操作以后,你需要确保最后得到的数组满足以下条件: 存在一个整数\(X\
阅读全文
posted @ 2024-08-12 15:35
lipu123