Leetcode 第 326 场周赛 元旦快乐!!! 原题链接:https://leetcode.cn/contest/weekly-contest-326 统计能整除数字的位数 class Solution { public: int countDigits(int num) { int t=num, res=0; while(num){ if(t%(num%10) == 0) re… 2023-1-01 12:00 | leetcode 190 字 | 5 分钟 leetcode筛质数质因子贪心
Leetcode 第 325 场周赛 题目链接:第 325 场周赛 - 力扣(LeetCode) 最后一题没考虑全痛失AK 到目标字符串的最短距离 class Solution { public: int closetTarget(vector<string>& words, string target, int startIndex) { int res=INT_… 2022-12-25 13:48 | leetcode 536 字 | 9 分钟 01背包DPleetcode二分双指针滑动窗口