- 2018-06-15 h5开发记录
superKelly
php加载流程php->html->js+cssphp1.smarty赋值$smarty->assign("loadMsg",array('pic'=>'error','footDesc'=>'ec:'.$res));$smarty->caching=false;2.发起请求$url=Config::getApiActivityUrl().'/activity/anniversary/getGue
- 每日英语单词学习 @2023-01-18
Hedgehoginwind
每日5组单词词组学习。第1组anniversary周年纪念日devastating破坏性极大的commemoration纪念仪式gorge峡谷;咽喉;狼吞虎咽onlooker旁观者ravine沟壑;峡谷第2组compatible可共用的stagnant停滞的;不发展的giveup放弃bankonsth指望;依靠demostrate证明punishment惩罚;处罚第3组avenueofinfect
- 亲子打卡日记Jun. 1st,sunny
森卿清
Goodbye,May!You'resoquickly!再见了,五月,过得真快!永葆童心,儿童节快乐(๑ºั╰╯ºั๑)①10:00*看电影《匹诺曹》124’温情的真人童话故事,剧情简单,并没有暗黑的改编,很适合给孩子看。我觉得无论多大,我们都要热爱童话、英雄和魔法。*逛光谷广场~k11艺术中心150’本来计划去武汉野生动物王国,还好及时看了旅游攻略,竟然都是差评,也好,及时避了坑哈。今天高温天气
- Python在生物信息学中的应用:有序字典
简说基因-专业生信合作伙伴
python开发语言
我们知道,通过{}创建的字典是无序的。如何创建有序字典呢?解决方案可以使用collections模块中的OrderedDict类。当对字典做迭代时,它会严格按照元素添加的顺序进行。例如:from collection import OrderedDictd=OrderedDict()d['1st'] = 1d['2nd'] = 2d['3rd'] = 3d['4th']=4forkeyind:
- Day 71 - 1st busy day
时光_慢
中考英语专项班开课第一天,上午3小时一气呵成上下来,中午半小时吃饭,下午接着上小学班1个半小时,再给乔治上网课半小时,晚上再带上午英语班的孩子们用软件学习数学和物理3小时。圆满完成第一天任务。中间还跟好几位家长微信沟通孩子学习特点,给出针对性建议。收到好消息,恬恬第一次考全班第一名,妈妈非常高兴,家长会上就给我发消息报喜。Jack和尹期末考试作文都考了满分,两个妈妈都说我之前的几次免费作文辅导效果
- Apr - 1st Week
Windolivia_baba
现在外面的风呼呼的,土豆在小推车里甜睡。翻看相册,土豆第一天从肚子里出来的样子我还记得很清晰,一转眼,小家伙已经快半岁了。以上是在星期六傍晚写下的。然后现在已经是星期天早上9点半了。晚上8点陪着土豆一起睡,12点之前醒了两次,凌晨1点睡到3点一刻,应该是时间最长的,5点上拉了大便也没给它洗,睡到把他按在床上到早晨7点。。这就是每天晚上的日常。最近这两个礼拜公婆回去换成老妈,土豆表现出来的不适应是我
- Python转换数据类型
ThreeYear_xin
1.转换数据类型的作用在特定的场景下我们需要将得到的数据转换为另一种数据类型,比如input输入的是1我们想得到整型,这时就需要用到数据类型转换2.转换数据类型的函数2.1int()#int()--将数据转换成整型num=input('请输入整数:')print(type(num))print(type(int(num)))2.2float()#float()--将数据转换成浮点数num1=1st
- Doris(三)-集群部署3个FE+3个BE
BatmanWayne
数据仓库doris数据仓库集群
前置1)配置java环境1st解压jdk包unzipjdk1.8.0_171-amd64.zip2nd配置环境变量vim/etc/profile#文末添加JAVA_HOME=/data/jdk1.8.0_171-amd64PATH=$JAVA_HOME/bin:$PATHexportPATHJAVA_HOME3rd启用配置source/etc/profile4th验证java-version2)下
- Docker compose安装使用
BatmanWayne
dockerdocker
目录1,什么是Dockercompose2,源码地址3,安装步骤1st获取docker-compose工具2nd更改权限3rd查看版本4th卸载dockercompose1,什么是Dockercompose2,源码地址传送门3,安装步骤1st获取docker-compose工具sudocurl-L"https://github.com/docker/compose/releases/downloa
- leetcode 1507:转变日期格式(python字符串操作)
zadarmo_
leetcodePython基础知识
给你一个字符串date,它的格式为DayMonthYear,其中:Day是集合{“1st”,“2nd”,“3rd”,“4th”,…,“30th”,“31st”}中的一个元素。Month是集合{“Jan”,“Feb”,“Mar”,“Apr”,“May”,“Jun”,“Jul”,“Aug”,“Sep”,“Oct”,“Nov”,“Dec”}中的一个元素。Year的范围在[1900,2100]之间。请你将
- Month 1- 1st week 在医院!
小麦伦
Isabel的出生后按照规定在医院里要住4天,但因为Isabel是晚上11点多出生的,所以医院又免费给多住一天。说是免费,其实羊毛出在羊身上,我们早先支付的私人保险已经cover了全部。说到私人保险,插播一个题外话,澳洲的私人保险每年都在涨,想要私保cover生孩子还的提前一年买才能生效,不然自己掏腰包也是一笔客观的数字啊!Isabel从羊水破到出生总共3小时左右,完全超乎我的想象,虽然做好十几个
- Python编程从入门到实践_5-11 序数_答案
qslife
pythonpython
#《Python编程从入门到实践》,动手试一试,5-11序数,答案。2023-07-15,byqs。numbers=[1,2,3,4,5,6,7,8,9]fornumberinnumbers:ifnumber==1:print(str(number)+'1st')elifnumber==2:print(str(number)+'2nd')elifnumber==3:print(str(number
- k8s 版本发布与回滚
fenglei2020
kubernetes容器云原生
一、实验环境准备:kubectlgetpods-owidekubectlgetnodes-owidekubectlgetsvc准备两个nginx镜像,版本号一个是V3,一个是V4二、准备一个nginx.yaml文件apiVersion:apps/v1kind:Deploymentmetadata:name:nginx-deploylabels:release:v1spec:replicas:1st
- 英语四级-词根词缀记忆法4
lolo小青蛙
词根:vers(t)词根:vers(t),有转的意思,四级单词中,前缀加上后缀一共有8个单词,reverse、avert、convert、divert、introvert、extrovert、anniversary、controversy;前缀后缀很重要,前缀决定词意,后缀决定词性,具体讲解请查看--英语四级-词根词缀记忆法1为学读书,须是耐心,细意去理会,切不可粗心。为数重物,包裹在里面,无缘得
- hive - explode 用法以及练习
Logan_addoil
大数据学习之旅hivehadoop数据仓库
hiveexplode的用法以及练习一行变多行explode例如:临时表temp_table,列名为1st1st1,2,34,5,6变为123456方式一:直接使用explodeselectexplode(split(1st,','))fromtemp_table;方式二:使用lateralviewexplode()临时别名as列名selecttypefromtemp_tablelateralvi
- 01-mysql中日期函数DATE_FORMAT
xcg340123
MySQLmysql日期函数
1、限定符说明%a三个字符缩写的工作日名称,例如:Mon,Tue,Wed,等%b三个字符缩写的月份名称,例如:Jan,Feb,Mar等%c以数字表示的月份值,例如:1,2,3…12%D英文后缀如:0th,1st,2nd等的一个月之中的第几天%d如果是1个数字(小于10),那么一个月之中的第几天表示为加前导加0,如:00,01,02,…31%e没有前导零的月份的日子,例如:1,2,…31%f微秒,范
- 第十一天| 20. 有效的括号 、1047. 删除字符串中的所有相邻重复、150. 逆波兰表达式求值
%dionysus%
代码随想录算法训练营算法leetcode
Leetcode20.有效的括号题目链接:20有效的括号题干:给定一个只包括'(',')','{','}','[',']'的字符串s,判断字符串是否有效。有效字符串需满足:左括号必须用相同类型的右括号闭合。左括号必须以正确的顺序闭合。每个右括号都有一个对应的相同类型的左括号。1st;for(inti=0;ist;for(chart:s){if(st.empty()||st.top()!=t)st.
- python报错:Python 2.7 will reach the end of its life on January 1st, 2020.
yuQnY
pythonlinuxpythonlinux
python报错:Python2.7willreachtheendofitslifeonJanuary1st,2020.环境描述错误描述解决办法环境描述centos7错误描述在使用centos7的时候,使用pip安装的时候,可能会报错:DEPRECATION:Python2.7willreachtheendofitslifeonJanuary1st,2020.PleaseupgradeyourPy
- My first anniversary in Canada
可苟可远
Todayisaveryspecialdayforme.ThesamedaylastyearIlandedatPearsonAirport,with2suitcases,andstartedanewstageofmylifeadventure.It'saveryspecialyearforme,lifehastaughtmetremendouslythisyearandIverymuchenjoy
- 第三轮21天生命故事疗愈日记书写 1st 7days复盘
蕾阿拉
写完了用书写日记本的第一个七天,有质感的纸张让人忍不住想去写好每一个字。鲜亮的配色时刻提醒我是在跟一个生命对话,每天书写的时刻心里特别沉静。虽然在国庆假期里,也没有落下一天。因为少了一天,心里会空落落的~在睡前的深夜11点爬床上写过,在亲戚的客厅里写过,在高速的车上也写过~先生看我每天书写,调侃的说你有那么多东西要写啊,是啊,我就是有那么多东西要写啊。写不出来,你只是缺少一个好问题。来看看书写日记
- 1ST / BTC
好好对待丰富
1ST/BTC0.00002630BTC≈¥1.15+31.50%0.00002630BTC0.00002629BTC1,211.11ST≈0.0319BTCETC/BTC0.00284499BTC≈¥124.37+26.55%0.00284499BTC0.00284499BTC1.02ETC≈0.0029BTCBTM/BTC0.00006301BTC≈¥2.75+23.55%0.00006301
- 叶丽仪45周年香港情2015演唱会 Frances Yip 45th Anniversary Live 2015《ISO 45.7G》
shuzicn
◎片名叶丽仪45周年香港情演唱会◎译名FrancesYip45thAnniversaryLiveInHongKongKaraoke◎年代2015◎国家中国香港◎类别演唱会◎语言粤语/英语◎字幕中字字幕◎文件大小45.7G◎片长134Mins◎演出叶丽仪◎简介叶丽仪与你分享FRANCES对香港的情怀金曲重温上海滩/红颜/万美情/笑傲江湖经典再现万水千山纵横/涟漪/好歌献给你/沧海一声笑◎曲目01.O
- The 1st Universal Cup Stage 13: Iberia, Apr 22-23, 2023 题解
nike0good
算法c++开发语言universalcup
D.XORDeterminantYouaregiventwoarraysbandcoflengthn,consistingofnon-negativeintegers.Constructn×nmatrixAasAij=bi⊕cj.FindthedeterminantofAmodulo998244353考虑Aij=∑kbi,kcj,k+pA_{ij}=\sum_kb_{i,k}{c_{j,k}}+p
- Web开发权威指南笔记(一)
yoyolee115956
前端javascript开发语言
书:Web开发权威指南,[美]ChrisAquino,ToddGandee著。为1st实战项目Ottergram练习以及代码整理。全为个人借鉴本书产出,若需要转载请联系通知我,谢谢~最终成果展示第一章配置开发环境文档与参考资料DevDocsAPIDocumentation:Mozilla开发者网络(MDN)是HTML、CSS和JavaScript最好的参考文档。HTML5Please-Usethe
- Markdown 通用总结 version 2 - Jan 1st, 2024
小谷在线
Markdown学习markdownvscodevscodesnippet
Markdown通用总结version2-Jan1st,20241.1.DocumentandAuthorInformation1.2.文献引用1.2.1.方法1:推荐使用1.2.2.方法2:html,可引相同序号,手动编号1.2.3.方法3:成对出现,可引相同序号,手动编号1.2.4.方法4:无法引用相同序号,可自动排序1.3.公式Equation1.3.1.公式居中1.4.插图图片InsetI
- linux下ini文件怎么打开乱码,解决ini-parser解析ini文件中文乱码问题
weixin_39787397
个人训练记录-赛码";bestcoder";杯中国大学生程序设计冠军赛A.Movie题意是给n个线段,要求求出是否存在三个不相交的线段,是的话输出yes,否则输出no.根据贪心的想法,可以先找出右端点r'最小的线段,他是三条线段中最左的那条,再找出左端点l'最大的线段...基于visualStudio2013解决C语言竞赛题之1019填数题目
- the forth anniversary
金露
四年前的今日下午,在朝阳民政局,领了那一纸婚约。当时俩人要填一张心形小卡片,记得先生的卡片上有一句话:服从命令听指挥。现在想来,颇有一些“山河可鉴”的意味。真是好笑。一周年的时候,我参加工作,先生读书。对于那个平安夜,我已没有印象。只记得那个圣诞节,与同事去看了超丽嗨的电影。两周年,那时正在孕期反应,对于这个日子已无存印象。三周年,先生小小浪漫了一下。可我已经忘记了是一枝花还是三枝花。只是记住了卡
- 4月1日五年级英语
七块_21f8
一,本课时学习内容,四会单词为first(1st)第一,second(2nd)第二,third(3rd)第三,fourth(4th)第四,fifth(5th)第五。以上四会单词,括号里的为缩写,也要抄写二,观看微课视频,这个视频讲的略粗,我后面还会更新录播课视频,但是更新比较慢,详情请关注我发在群里的”五年级英语空中课堂链接“,请收藏”五年级英语空中课堂链接“地址。五年级英语空中课堂五下U4Ale
- LeetCode 67. 二进制求和 | Python
大梦三千秋
67.二进制求和题目来源:力扣(LeetCode)https://leetcode-cn.com/problems/add-binary题目给你两个二进制字符串,返回它们的和(用二进制表示)。输入为非空字符串且只包含数字1和0。示例1:输入:a="11",b="1"输出:"100"示例2:输入:a="1010",b="1011"输出:"10101"提示:每个字符串仅由字符'0'或'1'组成。1st
- 简介Science Special Issue 125th Anniversary
qqlee606
2018-03-31Science杂志在125th周年上,列举了当今科学最令人瞩目和困惑的125个大问题。IntroductionToSpecialIssue:WhatDon'tWeKnow?Thegroundrules:Scientistsshouldhaveagoodshotatansweringthequestionsoverthenext25years,ortheyshouldatleas
- Java 并发包之线程池和原子计数
lijingyao8206
Java计数ThreadPool并发包java线程池
对于大数据量关联的业务处理逻辑,比较直接的想法就是用JDK提供的并发包去解决多线程情况下的业务数据处理。线程池可以提供很好的管理线程的方式,并且可以提高线程利用率,并发包中的原子计数在多线程的情况下可以让我们避免去写一些同步代码。
这里就先把jdk并发包中的线程池处理器ThreadPoolExecutor 以原子计数类AomicInteger 和倒数计时锁C
- java编程思想 抽象类和接口
百合不是茶
java抽象类接口
接口c++对接口和内部类只有简介的支持,但在java中有队这些类的直接支持
1 ,抽象类 : 如果一个类包含一个或多个抽象方法,该类必须限定为抽象类(否者编译器报错)
抽象方法 : 在方法中仅有声明而没有方法体
package com.wj.Interface;
- [房地产与大数据]房地产数据挖掘系统
comsci
数据挖掘
随着一个关键核心技术的突破,我们已经是独立自主的开发某些先进模块,但是要完全实现,还需要一定的时间...
所以,除了代码工作以外,我们还需要关心一下非技术领域的事件..比如说房地产
&nb
- 数组队列总结
沐刃青蛟
数组队列
数组队列是一种大小可以改变,类型没有定死的类似数组的工具。不过与数组相比,它更具有灵活性。因为它不但不用担心越界问题,而且因为泛型(类似c++中模板的东西)的存在而支持各种类型。
以下是数组队列的功能实现代码:
import List.Student;
public class
- Oracle存储过程无法编译的解决方法
IT独行者
oracle存储过程
今天同事修改Oracle存储过程又导致2个过程无法被编译,流程规范上的东西,Dave 这里不多说,看看怎么解决问题。
1. 查看无效对象
XEZF@xezf(qs-xezf-db1)> select object_name,object_type,status from all_objects where status='IN
- 重装系统之后oracle恢复
文强chu
oracle
前几天正在使用电脑,没有暂停oracle的各种服务。
突然win8.1系统奔溃,无法修复,开机时系统 提示正在搜集错误信息,然后再开机,再提示的无限循环中。
无耐我拿出系统u盘 准备重装系统,没想到竟然无法从u盘引导成功。
晚上到外面早了一家修电脑店,让人家给装了个系统,并且那哥们在我没反应过来的时候,
直接把我的c盘给格式化了 并且清理了注册表,再装系统。
然后的结果就是我的oracl
- python学习二( 一些基础语法)
小桔子
pthon基础语法
紧接着把!昨天没看继续看django 官方教程,学了下python的基本语法 与c类语言还是有些小差别:
1.ptyhon的源文件以UTF-8编码格式
2.
/ 除 结果浮点型
// 除 结果整形
% 除 取余数
* 乘
** 乘方 eg 5**2 结果是5的2次方25
_&
- svn 常用命令
aichenglong
SVN版本回退
1 svn回退版本
1)在window中选择log,根据想要回退的内容,选择revert this version或revert chanages from this version
两者的区别:
revert this version:表示回退到当前版本(该版本后的版本全部作废)
revert chanages from this versio
- 某小公司面试归来
alafqq
面试
先填单子,还要写笔试题,我以时间为急,拒绝了它。。时间宝贵。
老拿这些对付毕业生的东东来吓唬我。。
面试官很刁难,问了几个问题,记录下;
1,包的范围。。。public,private,protect. --悲剧了
2,hashcode方法和equals方法的区别。谁覆盖谁.结果,他说我说反了。
3,最恶心的一道题,抽象类继承抽象类吗?(察,一般它都是被继承的啊)
4,stru
- 动态数组的存储速度比较 集合框架
百合不是茶
集合框架
集合框架:
自定义数据结构(增删改查等)
package 数组;
/**
* 创建动态数组
* @author 百合
*
*/
public class ArrayDemo{
//定义一个数组来存放数据
String[] src = new String[0];
/**
* 增加元素加入容器
* @param s要加入容器
- 用JS实现一个JS对象,对象里有两个属性一个方法
bijian1013
js对象
<html>
<head>
</head>
<body>
用js代码实现一个js对象,对象里有两个属性,一个方法
</body>
<script>
var obj={a:'1234567',b:'bbbbbbbbbb',c:function(x){
- 探索JUnit4扩展:使用Rule
bijian1013
java单元测试JUnitRule
在上一篇文章中,讨论了使用Runner扩展JUnit4的方式,即直接修改Test Runner的实现(BlockJUnit4ClassRunner)。但这种方法显然不便于灵活地添加或删除扩展功能。下面将使用JUnit4.7才开始引入的扩展方式——Rule来实现相同的扩展功能。
1. Rule
&n
- [Gson一]非泛型POJO对象的反序列化
bit1129
POJO
当要将JSON数据串反序列化自身为非泛型的POJO时,使用Gson.fromJson(String, Class)方法。自身为非泛型的POJO的包括两种:
1. POJO对象不包含任何泛型的字段
2. POJO对象包含泛型字段,例如泛型集合或者泛型类
Data类 a.不是泛型类, b.Data中的集合List和Map都是泛型的 c.Data中不包含其它的POJO
 
- 【Kakfa五】Kafka Producer和Consumer基本使用
bit1129
kafka
0.Kafka服务器的配置
一个Broker,
一个Topic
Topic中只有一个Partition() 1. Producer:
package kafka.examples.producers;
import kafka.producer.KeyedMessage;
import kafka.javaapi.producer.Producer;
impor
- lsyncd实时同步搭建指南——取代rsync+inotify
ronin47
1. 几大实时同步工具比较 1.1 inotify + rsync
最近一直在寻求生产服务服务器上的同步替代方案,原先使用的是 inotify + rsync,但随着文件数量的增大到100W+,目录下的文件列表就达20M,在网络状况不佳或者限速的情况下,变更的文件可能10来个才几M,却因此要发送的文件列表就达20M,严重减低的带宽的使用效率以及同步效率;更为要紧的是,加入inotify
- java-9. 判断整数序列是不是二元查找树的后序遍历结果
bylijinnan
java
public class IsBinTreePostTraverse{
static boolean isBSTPostOrder(int[] a){
if(a==null){
return false;
}
/*1.只有一个结点时,肯定是查找树
*2.只有两个结点时,肯定是查找树。例如{5,6}对应的BST是 6 {6,5}对应的BST是
- MySQL的sum函数返回的类型
bylijinnan
javaspringsqlmysqljdbc
今天项目切换数据库时,出错
访问数据库的代码大概是这样:
String sql = "select sum(number) as sumNumberOfOneDay from tableName";
List<Map> rows = getJdbcTemplate().queryForList(sql);
for (Map row : rows
- java设计模式之单例模式
chicony
java设计模式
在阎宏博士的《JAVA与模式》一书中开头是这样描述单例模式的:
作为对象的创建模式,单例模式确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。这个类称为单例类。 单例模式的结构
单例模式的特点:
单例类只能有一个实例。
单例类必须自己创建自己的唯一实例。
单例类必须给所有其他对象提供这一实例。
饿汉式单例类
publ
- javascript取当月最后一天
ctrain
JavaScript
<!--javascript取当月最后一天-->
<script language=javascript>
var current = new Date();
var year = current.getYear();
var month = current.getMonth();
showMonthLastDay(year, mont
- linux tune2fs命令详解
daizj
linuxtune2fs查看系统文件块信息
一.简介:
tune2fs是调整和查看ext2/ext3文件系统的文件系统参数,Windows下面如果出现意外断电死机情况,下次开机一般都会出现系统自检。Linux系统下面也有文件系统自检,而且是可以通过tune2fs命令,自行定义自检周期及方式。
二.用法:
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g grou
- 做有中国特色的程序员
dcj3sjt126com
程序员
从出版业说起 网络作品排到靠前的,都不会太难看,一般人不爱看某部作品也是因为不喜欢这个类型,而此人也不会全不喜欢这些网络作品。究其原因,是因为网络作品都是让人先白看的,看的好了才出了头。而纸质作品就不一定了,排行榜靠前的,有好作品,也有垃圾。 许多大牛都是写了博客,后来出了书。这些书也都不次,可能有人让为不好,是因为技术书不像小说,小说在读故事,技术书是在学知识或温习知识,有
- Android:TextView属性大全
dcj3sjt126com
textview
android:autoLink 设置是否当文本为URL链接/email/电话号码/map时,文本显示为可点击的链接。可选值(none/web/email/phone/map/all) android:autoText 如果设置,将自动执行输入值的拼写纠正。此处无效果,在显示输入法并输
- tomcat虚拟目录安装及其配置
eksliang
tomcat配置说明tomca部署web应用tomcat虚拟目录安装
转载请出自出处:http://eksliang.iteye.com/blog/2097184
1.-------------------------------------------tomcat 目录结构
config:存放tomcat的配置文件
temp :存放tomcat跑起来后存放临时文件用的
work : 当第一次访问应用中的jsp
- 浅谈:APP有哪些常被黑客利用的安全漏洞
gg163
APP
首先,说到APP的安全漏洞,身为程序猿的大家应该不陌生;如果抛开安卓自身开源的问题的话,其主要产生的原因就是开发过程中疏忽或者代码不严谨引起的。但这些责任也不能怪在程序猿头上,有时会因为BOSS时间催得紧等很多可观原因。由国内移动应用安全检测团队爱内测(ineice.com)的CTO给我们浅谈关于Android 系统的开源设计以及生态环境。
1. 应用反编译漏洞:APK 包非常容易被反编译成可读
- C#根据网址生成静态页面
hvt
Web.netC#asp.nethovertree
HoverTree开源项目中HoverTreeWeb.HVTPanel的Index.aspx文件是后台管理的首页。包含生成留言板首页,以及显示用户名,退出等功能。根据网址生成页面的方法:
bool CreateHtmlFile(string url, string path)
{
//http://keleyi.com/a/bjae/3d10wfax.htm
stri
- SVG 教程 (一)
天梯梦
svg
SVG 简介
SVG 是使用 XML 来描述二维图形和绘图程序的语言。 学习之前应具备的基础知识:
继续学习之前,你应该对以下内容有基本的了解:
HTML
XML 基础
如果希望首先学习这些内容,请在本站的首页选择相应的教程。 什么是SVG?
SVG 指可伸缩矢量图形 (Scalable Vector Graphics)
SVG 用来定义用于网络的基于矢量
- 一个简单的java栈
luyulong
java数据结构栈
public class MyStack {
private long[] arr;
private int top;
public MyStack() {
arr = new long[10];
top = -1;
}
public MyStack(int maxsize) {
arr = new long[maxsize];
top
- 基础数据结构和算法八:Binary search
sunwinner
AlgorithmBinary search
Binary search needs an ordered array so that it can use array indexing to dramatically reduce the number of compares required for each search, using the classic and venerable binary search algori
- 12个C语言面试题,涉及指针、进程、运算、结构体、函数、内存,看看你能做出几个!
刘星宇
c面试
12个C语言面试题,涉及指针、进程、运算、结构体、函数、内存,看看你能做出几个!
1.gets()函数
问:请找出下面代码里的问题:
#include<stdio.h>
int main(void)
{
char buff[10];
memset(buff,0,sizeof(buff));
- ITeye 7月技术图书有奖试读获奖名单公布
ITeye管理员
活动ITeye试读
ITeye携手人民邮电出版社图灵教育共同举办的7月技术图书有奖试读活动已圆满结束,非常感谢广大用户对本次活动的关注与参与。
7月试读活动回顾:
http://webmaster.iteye.com/blog/2092746
本次技术图书试读活动的优秀奖获奖名单及相应作品如下(优秀文章有很多,但名额有限,没获奖并不代表不优秀):
《Java性能优化权威指南》