摘要: https://leetcode.cn/studyplan/top-interview-150/ 阅读全文
posted @ 2023-12-14 20:28 Lunais 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 在C语言中,scanf函数从标准输入(键盘)读取用户输入的数据。这是一个常用的函数,但也有很多注意事项和细微差别需要了解。 1.基本语法: int scanf(const char *format, ...); 参数: format :一个字符串,指定输入的格式。 ... :可变参数,根据格式字符串 阅读全文
posted @ 2023-11-28 20:27 Lunais 阅读(23) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; class Solution{ std::vector<std::string> split(std::string &str, char ch){ std::vector<std::string> ans; 阅读全文
posted @ 2023-08-03 16:03 Lunais 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 360图书馆协议 知乎博主 csdn 3gpp 阅读全文
posted @ 2023-03-20 14:21 Lunais 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Main: project: default C/C++ Application: /home/....../3rdparty/x86-gcc-6/testngpp/bin/testngpp-runner Arguments: ./main/libeFT_feature.so -L "/home/. 阅读全文
posted @ 2023-03-20 14:15 Lunais 阅读(21) 评论(0) 推荐(0) 编辑
摘要: find . -name "*.c" | xargs grep "123" 阅读全文
posted @ 2022-12-27 16:22 Lunais 阅读(6) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1473541 阅读全文
posted @ 2021-12-24 17:02 Lunais 阅读(30) 评论(0) 推荐(0) 编辑
摘要: python中yield的用法详解 阅读全文
posted @ 2021-11-16 01:37 Lunais 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 这个基础函数,主要见过两种用法: 1.内存初始化 2.考试!!!(鉴于经常考试翻车,立个flag,逢考必对~) memset声明: void * memset ( void * ptr, int value, size_t num ); memset入参: ptr: Pointer to the b 阅读全文
posted @ 2021-06-23 11:41 Lunais 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1 #!/usr/bin/python 2 # -*- coding: UTF-8 -*- 3 4 #python2支持print带入参 5 from __future__ import print_function 6 # python2使用utf-8编码解决中文路径问题 7 from __fut 阅读全文
posted @ 2021-06-21 10:09 Lunais 阅读(194) 评论(0) 推荐(0) 编辑