摘要:
题目描述 解法一 思路:遍历数组查找是否有相同数字,相同则count++ class Solution { public: int search(vector<int>& nums, int target) { int count = 0; for(int i = 0; i < nums.size( 阅读全文
posted @ 2023-02-28 21:54
盏茶
阅读(16)
评论(0)
推荐(0)
摘要:
安装顺序 CMake3.26.0安装 VS2019安装 Qt5.15.2安装 VTK8.2.0安装 ITK5.2.1安装 一、CMake安装 1.安装包下载链接:Download | CMake 2.下载 cmake-3.26.0-rc4-windows-x86_64.msi 3. Next 4.勾 阅读全文
posted @ 2023-02-28 16:59
盏茶
阅读(2690)
评论(0)
推荐(1)
摘要:
题目描述 解法一 基本思路:直接移动 class Solution { public: string reverseLeftWords(string s, int n) { for(int i = 0; i < n; i++){ int j = 0; int temp = s[0]; for(; j 阅读全文
posted @ 2023-02-28 13:00
盏茶
阅读(13)
评论(0)
推荐(0)