算法笔记
兔兔爱学习兔兔爱学习
这个作者很懒,什么都没留下…
展开
-
20190107 《算法笔记》第一二章
第二章 c c++快速入门 基本数据类型 变量名须满足的条件: 1 不能是c语言的标识符 2.变量名的第一个字符必须是字母或下划线 3.区分大小写 变量类型: 整型 int log 字符型 char 浮点型 float double 布尔型bool 强制类型转换 (新类型名)变量名 符号常量和const常量 #define 标识 常量 宏定义是直接将对应的部分替换 然后才进行编译和运行 运算...原创 2019-01-07 19:44:55 · 127 阅读 · 0 评论 -
实验楼经典算法string字符串(一)
Problem Statement For a given source string and a target string, you should output the first index(from 0) of target string in source string. If target does not exist in source, just return -1. Exampl...原创 2019-07-05 17:57:18 · 143 阅读 · 0 评论