亓天大圣是程序猿
亓天大圣是程序猿
全部文章
基础
ACM(1)
C++(6)
Codeforces(2)
GCD(1)
win32(1)
图像(1)
图论500(9)
操作(9)
数据结构(4)
电脑(2)
算法(3)
网络(6)
归档
标签
去牛客网
登录
/
注册
亓天大圣是程序猿的博客
全部文章
/ 基础
(共11篇)
简单指针调着玩
#include <stdio.h> #include <iostream> void swap(int **a,int **b){ int *tp=NULL; printf("*a==%lld,*b==%lld\n", *a, *...
2019-12-09
0
445
十六进制字符串转十六进制数
static int tolow(int c) { if (c >= 'A' && c <= 'Z') { return c + 'a' - 'A'; } else { return c; ...
2019-10-31
0
799
数据范围
https://blog.csdn.net/weixin_42856843/article/details/81989737
2019-10-20
0
390
面试总结
1、哈夫曼树 2、拓扑排序 3、二叉树层次遍历 4、进程锁产生的情况及如何解除 5、Linux为什么用多进程不用多线程 6、进程之间的通信 7、线程之间的同步 8、双向链表插入删除 9、排序 10、IO复用 11、shell脚本 13、TCP、HTTP抓包并分析 14、C11特性 15、内存对齐的存...
2019-09-03
0
500
GDB简易调试
1、编译命令:gcc -g -o xxx.o xxx.c(-g方便调试,加载进符号表) 2、开始gdb调试:gdb xxx.o 3、基本命令: l main(列出主函数,格式:l xx) set listsize 20(调整显示行数) b 8(在第8行下一个断点) info...
2019-07-26
0
814
upper_bound AND lower_bound
upper_bound( begin,end,num):从数组的begin位置到end-1位置二分查找第一个大于num的数字,找到返回该数字的地址,不存在则返回end。通过返回的地址减去起始地址begin,得到找到数字在数组中的下标。 lower_bound( begin,end,num):从数组...
2018-07-24
0
322
位运算
前提:二进制存储方式 正数:符号位为0,其他位正常存储 负数:符号位为1,其他位按照补码方式存储; 无符号:和正数一样,但是没有符号位; 1.&(与) 1&1=1;1&0=0;0&1=0;0&0=0; 总结:只有两边都是1时才等于一; 例如:3&...
2018-06-08
0
538
算法1
https://blog.csdn.net/qq_33184171/article/details/52916166
2018-05-18
0
335
JAVA 高精度加法
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sca = new Sca...
2018-04-08
0
347
vector
#include <iostream> #include <algorithm> #include <cstring> #include <cstdio> #include <vector> using namespace std; int...
2018-03-30
0
429
首页
上一页
1
2
下一页
末页