会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ATKevin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2021年1月8日
vscode配置教程
摘要: 1.https://blog.csdn.net/qq_40197828/article/details/104075828?utm_source=app 2.https://blog.csdn.net/bat67/article/details/76095813?utm_source=app htt
阅读全文
posted @ 2021-01-08 13:40 ATKevin
阅读(184)
评论(0)
推荐(0)
2021年1月6日
数组初始化
摘要: 1. 字符数组 char parr[] = "zifuchuanshuzu"; char charr[] = { 'z','i','f','u','c','h','u','a','n','s','h','u','z','u' }; 数组 1. 直接给每个元素赋值int array[4] = {1,2
阅读全文
posted @ 2021-01-06 16:17 ATKevin
阅读(94)
评论(0)
推荐(0)
2021年1月4日
leetcode67 二进制求和
摘要: 题目链接:https://leetcode-cn.com/problems/add-binary/submissions/ 反思:1.用reverse()函数将string倒置后操作,不用进位时整体向后移动 2.t的巧妙用法 3.to_string函数的使用和理解 class Solution {
阅读全文
posted @ 2021-01-04 19:53 ATKevin
阅读(59)
评论(0)
推荐(0)
2020年12月23日
C语言输入时 EOF问题
摘要: while((c = getchar()) != EOF) #include<stdio.h>int main() //把main函数定义成int类型{int a,b;while(scanf("%d %d",&a, &b) != EOF) // 输入结束时,scanf函数或getchar()返回值为
阅读全文
posted @ 2020-12-23 22:55 ATKevin
阅读(514)
评论(0)
推荐(0)
2020年12月22日
汇编语言
摘要: 寄存器的理解 http://www.ruanyifeng.com/blog/2018/01/assembly-language-primer.html cpu的一级缓存,二级缓存和三级缓存 https://blog.csdn.net/qq_29229567/article/details/80561
阅读全文
posted @ 2020-12-22 22:55 ATKevin
阅读(71)
评论(0)
推荐(0)
2020年12月21日
vscode编写c++程序并运行
摘要: https://www.cnblogs.com/baihualiaoluan/p/10661669.html
阅读全文
posted @ 2020-12-21 20:28 ATKevin
阅读(187)
评论(0)
推荐(0)
2020年12月20日
C++特性
摘要: for循环 https://www.cnblogs.com/developing/articles/10890903.html
阅读全文
posted @ 2020-12-20 22:34 ATKevin
阅读(55)
评论(0)
推荐(0)
2020年12月4日
800.数组元素的目标和
摘要: 题目链接:https://www.acwing.com/problem/content/802/ 双指针的妙用 先打暴力,在改成双指针。 正确解法 遍历l,确保不会漏 #include<iostream> using namespace std; const int maxn = 1e5 + 10;
阅读全文
posted @ 2020-12-04 23:42 ATKevin
阅读(119)
评论(0)
推荐(0)
2020年11月30日
算法刷题小总结
摘要: 1.有问题代码 class Solution { public: void nextPermutation(vector<int>& nums) { int n = nums.size(); int i = n-1; while(i > 0) { if(nums[i] <= nums[i-1]) i
阅读全文
posted @ 2020-11-30 09:31 ATKevin
阅读(123)
评论(0)
推荐(0)
2020年11月26日
gdb笔记
摘要: gdb 【文件名】 (进入文件) disass main 汇编出main函数 b + *(地址)/函数名 设置断点
阅读全文
posted @ 2020-11-26 16:47 ATKevin
阅读(78)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告