随笔分类 -  LeetCode题目

LeetCode 1974. 使用特殊打字机键入单词的最少时间
摘要:题目链接:https://leetcode-cn.com/problems/minimum-time-to-type-word-using-special-typewriter/ 代码: /* 1974. 使用特殊打字机键入单词的最少时间 */ #include<iostream> #include 阅读全文

posted @ 2022-01-10 08:37 xcxfury001 阅读(29) 评论(0) 推荐(0) 编辑

LeetCode 1356. 根据数字二进制下 1 的数目排序
摘要:题目链接:https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits/ 代码: /* 给你一个整数数组 arr 。请你将数组中的元素按照其二进制表示中数字 1 的数目升序排序。 如果存在多个数字二进制中 1 的数目相同 阅读全文

posted @ 2022-01-09 22:44 xcxfury001 阅读(28) 评论(0) 推荐(0) 编辑

LeetCode 1116. 打印零与奇偶数
摘要:题目链接:https://leetcode-cn.com/problems/print-zero-even-odd/ 代码参考链接:https://leetcode-cn.com/problems/print-zero-even-odd/solution/c-san-chong-fang-shi-b 阅读全文

posted @ 2022-01-05 08:39 xcxfury001 阅读(42) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示