【Leetcode题解】Weekly Contest 337 周赛题目解析

Posted on Sun 19 March 2023 in Leetcode • Tagged with Contest

2023-03 Leetcode Weekly Contest 337 | 2595. Number of Even and Odd Bits | 2596. Check Knight Tour Configuration | 2597. The Number of Beautiful Subsets | 2598. Smallest Missing Non-negative Integer After Operations | My solution 我的题目解析


Continue reading

【Leetcode题解】Biweekly Contest 100 双周赛题目解析

Posted on Sat 18 March 2023 in Leetcode • Tagged with Contest

2023-03 Leetcode Biweekly Contest 100 | 2591. Distribute Money to Maximum Children | 2592. Maximize Greatness of an Array | 2593. Find Score of an Array After Marking All Elements | 2594. Minimum Time to Repair Cars | My solution 我的题目解析


Continue reading

手把手教你在树莓派4B上运行LLaMA 7B模型

Posted on Wed 15 March 2023 in Computer Science

本文详细描述了我是如何一步步在树莓派4B上运行LLaMA模型。LLaMA是由Meta AI发布的一个大语言模型。ggerganov/llama.cpp是一个由C++实现的LLaMA移植版本,并使用4-bit量化技术以将模型适配至个人设备上。超大型语料模型从未如此唾手可得。在树莓派上获得你的个人chatgpt。如果你对树莓派、LLaMA模型或大型语言模型感兴趣,那么本文一定会对你有帮助。How I run the LLaMA model step by step on a Raspberry Pi 4B. LLaMA is a large language model released by Meta AI. ggerganov/llama.cpp is a C++ implementation of the LLaMA port, which uses 4-bit quantization techniques to adapt the model to personal devices. A large-scale Machine Learning model has never been so readily available for normal people. If you are interested in Raspberry Pi, LLaMA model, or large-scale language models, this article will provide you with useful information.


Continue reading

【Leetcode题解】2580. Count Ways to Group Overlapping Ranges

Posted on Tue 14 March 2023 in Leetcode • Tagged with Contest, Math

2023-03 - Biweekly Contest 99 - Leetcode 2580 Count Ways to Group Overlapping Ranges - 计算重叠范围的分组方式 - 我的解法,思路和方法


Continue reading

【Leetcode题解】2588. Count the Number of Beautiful Subarrays

Posted on Sun 12 March 2023 in Leetcode • Tagged with Contest, Subarray

2023-03 Weekly Contest 336 Leetcode 2588 Count the Number of Beautiful Subarrays 我的解题思路


Continue reading

【Leetcode题解】2589. Minimum Time to Complete All Tasks

Posted on Sun 12 March 2023 in Leetcode • Tagged with Contest, Scheduling

2023-03 Weekly Contest 336 Leetcode 2589 Minimum Time to Complete All Tasks My Solution 我的解题思路


Continue reading

我是如何做SEO优化的

Posted on Sat 11 March 2023 in MISC

一开始,我的写博客是出于对自己成长的记录,但时间推移后,我希望更多人能够阅读我的文章。虽然与同事和朋友分享文 …


Continue reading

【Leetcode题解】2584. Split the Array to Make Coprime Products

Posted on Wed 08 March 2023 in Leetcode • Tagged with Contest, Math

又闲的无聊,找点事情做,来写一下2584. Split the Array to Make Coprime Products的题解。

题目

You are given a 0-indexed integer array nums of length n.

A split at an index i where 0 <= i <= n - 2 is …


Continue reading

【Leetcode题解】2444. Count Subarrays With Fixed Bound

Posted on Sat 04 March 2023 in Leetcode • Tagged with Contest, Subarray

今天闲的无聊,找点事情做,来写一下2444. Count Subarrays With Fixed Bound的题解。

题目

You are given an integer array nums and two integers minK and maxK.

A fixed-bound subarray of nums is a subarray that satisfies the …


Continue reading

[翻译]保卫自由的互联网,拒绝Web3

Posted on Sat 18 February 2023 in Computer Science • Tagged with Blockchain

原文标题:Keep the web free, say no to Web3

原文链接:https://yesterweb.org/no-to-web3/

新的想法,新的思潮,下一代互联网,Web3对每个人的意义都是独一无二的。币圈的铁杆粉丝们把这种基于区块 …


Continue reading