自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Licker的博客

道道的 博客

  • 博客(26)
  • 收藏
  • 关注

原创 汇编语言 王爽 第三章 答案 解析

检测点3.1(1) 在DEBUG中,用 "D 0:0 lf" 查看内存,结果如下:0000:0000 70 80 F0 30 EF 60 30 E2-00 80 80 12 66 20 22 600000:0010 62 26 E6 D6 CC 2E 3C 3B-AB BA 00 00 26 06 66 88下面的程序执行前,AX=0,BX=0,写出每条汇编指令执行完后相关...

2019-11-04 18:34:08 1137

原创 汇编语言 第二章 课后习题

检测点2.1(1)mov ax,62627 ax = F4A3H 十进制的62627=十六进制的F4A3Hmov ah,31H ax=31A3H 高位变为31Hmov al,23H ax=3123H 低位变为23Hadd ax,ax AX=6246H 高位相加mov bx,826CH BX=826CHmov cx,ax CX=6246H...

2019-11-01 14:28:43 709

原创 kafka 常用命令

启动zookeeper和kafkasever服务bin/zookeeper-server-start.sh config/zookeeper.propertiesbin/kafka-sevrver-start.sh config/server.properties创建一个名为test的主题,副本数为1,分区为1bin/kafka-topics.sh --create --zoo...

2019-10-31 16:01:25 148

原创 汇编语言 第一章 课后习题

检测点1.1(1)一个CPU的寻址能力为8KB,那么它的地址总线的宽度为 13解析:每根地址总线的状态只有两种,0和1,所以N根地址总线可以表示2^N个不同的数,所以它的的寻址能力为2^N,1KB=2^10,所以8KB为2^13,所以地址总线的宽度为13(2)1KB的存储器有 1024个存储单元,存储单元的编号从 0 到 1023解析:存储器被划分为若干个存储单元,存储单...

2019-10-30 19:28:13 569

原创 ElasticSearch 常用查询语句

# 查看指定index、type和id的文档,返回结构如下,found字段表示是否找到对应的文档curl -XGET http://localhost:9200/_index/_type/_id?pretty# 返回{ "_index": "_index", "_type": "_type", "_id": "_id", "_version": 1, "found"...

2019-10-24 17:30:58 716 1

原创 ElasticSearch 集群状态

ElasticSearch集群的健康状态分为三种,分别是green(所有主要分片和复制分片都可用),yellow(所有主要分片可用,但不是所有复制分片都可用)和red(不是所有的主要分片都可用)green为健康状态,所有分片都是正常,yellow为部分故障,主分片是正常的,但是有复制分片故障,red为严重故障,有主分片不可用我们可以通过GET /_cluster/health这个...

2019-10-22 11:42:54 1669

原创 IOS开发中的KeyWindow

KeyWindow 即指在IOS开发中活跃窗口,即能接到键盘和非触摸事件的一个窗口,一次只能有一个KeyWindow,在IOS 开发中,我们可以通过设置UIWindowLevel的数值来设置最前端的窗口为哪个,Level数值越高的窗口越靠前,如果两个窗口的Level等级相同,则我们可以通过makeKeyAndVisible来显示KeyWindowUIWindow是可以重叠的,每一个Window

2017-03-03 17:19:39 1913

原创 HDU 2016数据的交换输出

Problem Description输入n(n Input输入数据有多组,每组占一行,每行的开始是一个整数n,表示这个测试实例的数值的个数,跟着就是n个整数。n=0表示输入的结束,不做处理。 Output对于每组输入数据,输出交换后的数列,每组输出占一行。 Sample Input4 2 1 3 45 5 4 3 2 10 

2016-03-25 00:07:53 262

原创 HDU 2015 偶数求和

Problem Description有一个长度为n(n Input输入数据有多组,每组占一行,包含两个正整数n和m,n和m的含义如上所述。 Output对于每组输入数据,输出一个平均值序列,每组输出占一行。 Sample Input3 24 2 Sample Output3 63 7import

2016-03-24 23:54:48 274

原创 HDU 2014 青年歌手大奖赛_评委会打分

Problem Description青年歌手大奖赛中,评委会给参赛选手打分。选手得分规则为去掉一个最高分和一个最低分,然后计算平均得分,请编程输出某选手的得分。 Input输入数据有多组,每组占一行,每行的第一个数是n(2 Output对于每组输入数据,输出选手的得分,结果保留2位小数,每组输出占一行。 Sample Input3 99 9

2016-03-21 13:45:52 288

原创 c# 中的只读属性

当你想把一个属性设置为只读属性,你只需要把set去掉,只设置get即可ex;private bool hot;pblic bool Hot{get{return hot;}}即可

2016-03-16 14:33:31 1575

原创 HDU 2011 多项式求和

Problem Description多项式的描述如下:1 - 1/2 + 1/3 - 1/4 + 1/5 - 1/6 + ...现在请你求出该多项式的前n项的和。 Input输入数据由2行组成,首先是一个正整数m(m Output对于每个测试实例n,要求输出多项式前n项的和。每个测试实例的输出占一行,结果保留2位小数。 Sample Inp

2016-03-15 14:59:09 243

原创 HDU 2010 水仙花数

水仙花数Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 154127    Accepted Submission(s): 44493#include int main() { int n,m,i,a1,a2,a3; w

2016-03-15 14:05:44 261

原创 HDU 2009 求数列的和

求数列的和Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 66376    Accepted Submission(s): 40499Problem Description数列的定义如下:数列的第一项为n,以后各

2016-03-15 14:03:51 320

原创 HDU 1161Eddy's mistakes

Problem DescriptionEddy usually writes articles ,but he likes mixing the English letter uses, for example "computer science" is written frequently "coMpUtEr scIeNce" by him, this mistakes lets Eddy'

2016-03-13 00:40:36 278

原创 HDU 1425 sort

Problem Description给你n个整数,请按从大到小的顺序输出其中前m大的数。 Input每组测试数据有两行,第一行有两个数n,m(0 Output对每组测试数据按从大到小的顺序输出前m大的数。 Sample Input5 33 -35 92 213 -644 Sample Output213

2016-03-13 00:29:31 164

原创 HDU 1061 Rightmost Digit

Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N. InputThe input contains several test cases. The first line of the input is a single integer T

2016-03-12 20:38:09 178

原创 HDU 1097 a hard puzzle

Problem Descriptionlcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,so lcy makes the problem easier than begin.

2016-03-12 20:23:55 185

原创 HDU 1170 Balloon Comes!

Problem DescriptionThe contest starts now! How excited it is to see balloons floating around. You, one of the best programmers in HDU, can get a very beautiful balloon if only you have solved the ve

2016-03-12 20:22:07 294

原创 HDU 1076An Easy Task

Problem DescriptionIgnatius was born in a leap year, so he want to know when he could hold his birthday party. Can you tell him?Given a positive integers Y which indicate the start year, and a p

2016-03-12 14:36:37 236

原创 HDU 1032 The 3n + 1 problem

Problem DescriptionProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property o

2016-03-12 14:09:29 170

原创 HDU 1021 Fibonacci Again

Problem DescriptionThere are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2). InputInput consists of a sequence of lines, each containing an integer n

2016-03-12 14:05:02 159

原创 Let the Balloon Rise

Let the Balloon Rise

2016-03-11 15:05:24 438

原创 HDU 1037Keep on Truckin'

HDU 1037Keep on Truckin'

2016-03-11 00:24:22 213

原创 HDU 1064Financial Management

HDU 1064Financial Management

2016-03-11 00:00:03 234

原创 HDU 1040 As Easy As A+B

HDU 1040 As Easy As A+B

2016-03-10 23:49:08 348

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除