2021年2月7日

摘要: 地址 https://pintia.cn/problem-sets/994805342720868352/problems/994805526272000000 题目大意是 输入两个多项式的变量参数和变量指数 按照指定规则显示出来 Sample Input: 2 1 2.4 0 3.2 2 2 1. 阅读全文
posted @ 2021-02-07 23:42 itdef 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 地址 https://pintia.cn/problem-sets/994805342720868352/problems/994805528788582400 Calculate a+b and output the sum in standard format -- that is, the d 阅读全文
posted @ 2021-02-07 23:34 itdef 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 地址 https://leetcode-cn.com/problems/sum-of-unique-elements/ 给你一个整数数组 nums 。数组中唯一元素是那些只出现 恰好一次 的元素。 请你返回 nums 中唯一元素的 和 。 示例 1: 输入:nums = [1,2,3,2] 输出:4 阅读全文
posted @ 2021-02-07 12:51 itdef 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 地址 https://leetcode-cn.com/problems/maximum-absolute-sum-of-any-subarray/ 给你一个整数数组 nums 。一个子数组 [numsl, numsl+1, ..., numsr-1, numsr] 的 和的绝对值 为 abs(num 阅读全文
posted @ 2021-02-07 12:49 itdef 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 地址 https://leetcode-cn.com/problems/minimum-length-of-string-after-deleting-similar-ends/ 给你一个只包含字符 'a','b' 和 'c' 的字符串 s ,你可以执行下面这个操作(5 个步骤)任意次: 选择字符串 阅读全文
posted @ 2021-02-07 12:47 itdef 阅读(78) 评论(0) 推荐(0) 编辑

导航