摘要: 逆序输出一个整数 int a = in.nextInt(); int count = 0; do { count = count *10 +a %10; a /=10; }while (a>0); System.out.println(count); int a = in.nextInt(); in 阅读全文
posted @ 2019-10-31 22:14 空谈误国-实干兴邦 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 转自 https://blog.csdn.net/sunxb10/article/details/81036693 简单使用 f-string用大括号 {} 表示被替换字段,其中直接填入替换内容: 表达式求值与函数调用 f-string的大括号 {} 可以填入表达式或调用函数,Python会求出其结 阅读全文
posted @ 2019-08-15 15:06 空谈误国-实干兴邦 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 责任链模式 责任链模式妙用 阅读全文
posted @ 2019-07-05 14:51 空谈误国-实干兴邦 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Mock Mock介绍 相关系数 阅读全文
posted @ 2019-06-18 15:53 空谈误国-实干兴邦 阅读(100) 评论(0) 推荐(0) 编辑
摘要: c++语言程序设计基础 类,继承,重载,重写,虚方法,模版 离散数学基础: 集合,偏序集,良序,数学归纳法,级数,递归,递推 概率基础: 随机分布,概率,伯努利实验,数学期望,期望值的线性律 阅读全文
posted @ 2019-06-17 17:37 空谈误国-实干兴邦 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 斐波那契数列指的是这样一个数列 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368........ 这个数列从第3项开始,每一项都等于前两项之和。 阅读全文
posted @ 2019-06-17 11:34 空谈误国-实干兴邦 阅读(130) 评论(0) 推荐(0) 编辑
摘要: hive https://baike.baidu.com/item/hive/67986?fr=aladdin hadoop https://baike.baidu.com/item/Hadoop/3526507?fr=aladdin http://baijiahao.baidu.com/s?id= 阅读全文
posted @ 2019-06-12 10:25 空谈误国-实干兴邦 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 善变的我 003普通变量 004引用型变量 005记录型变量 006条件分支 007循环 008无参游标 009带参游标 010存储过程的概念作用 011无参存储过程 012带输入参数的存储过程 阅读全文
posted @ 2019-06-06 14:15 空谈误国-实干兴邦 阅读(148) 评论(0) 推荐(0) 编辑
摘要: DECODE/from 百度百科: DECODE有什么用途呢? 先构造一个例子,假设我们想给这些职员加工资,其标准是:工资在8000元以下的加20%;工资在8000元或以上的加15%,通常的做法是,先选出记录中的工资字段值 >select salary into var-salary from em 阅读全文
posted @ 2019-04-29 17:39 空谈误国-实干兴邦 阅读(318) 评论(0) 推荐(0) 编辑
摘要: CREATE OR REPLACE PROCEDURE 存储过程 转自 https://www.cnblogs.com/lideng/p/3427822.html oracle中dual表的用途介绍 https://www.cnblogs.com/summary-2017/p/7737935.htm 阅读全文
posted @ 2019-04-24 17:07 空谈误国-实干兴邦 阅读(204) 评论(0) 推荐(0) 编辑