- #开始记日记#1101《潘金莲的饺子》
董克平日记
2020/02/11星期二北京翻完《植物在丝绸的路上穿行》,开始看《潘金莲的饺子》。这本书是作者李舒送给我的,当时看了一下,直到今天重新拿出来再看。230多页,一天看完了。以前买过山东画报出版社出的《金瓶梅饮食谱》,看过后也就忘记了。去济南的时候,王老虎还请我吃过一餐金瓶梅宴,那餐饭真的很难吃,而且还不情色。人生乐事食色为大,这餐金瓶梅宴既不好吃也不色情,除了记住武大郎炊饼、潘金莲咸菜之外,不记得
- 焦点解决第230天
孟兆桂
今天我青县一中有了历史性的突破,请北京慧盛智达的尹红玲老师,给我们讲授,如何打造精英团队。体重就讲到了我们焦点解决当中的聚焦正向,我对此很有感触,并上台分享了我的人生体验,当一个人聚焦正向的时候,那聚焦快乐,聚焦当下,聚焦目标都不在话下,可以一举夺城
- Python中的类(一)
Bruce_Liuxiaowei
总结经验笔记编程python开发语言
Python中的类(一)在Python中,类(Class)是面向对象编程(OOP)的基本概念。它是一个模板,用于定义一个对象的行为和属性。类可以被继承、修改和扩展,以满足不同的需求。什么是类?类是一种蓝图,它描述了一个对象的结构和行为。一个类包含一些成员变量(attributes)和方法(methods),这些成员变量和方法一起定义了这个对象的特征和操作方式。例如,我们可以创建一个名为Animal
- Animal farm(125)
云手a
Betweenpigsandhumanbeingstherewasnot,andtheyneednotbe,anyclashofinterestswhatever.Theirstrugglesandtheirdifficultieswereone.Wasnotthelabourproblemthesameeverywhere?Hereisbecameapparent【adj.显然的;表面上的】th
- 精进日Day230
Collue
图片发自App19.10.6马雪敏弟弟弟媳笔迹解析弟弟笔迹解析一、综合分析1、优势在大脑思维和行动执行力层面,也就是笔者大脑思维较丰富、独特、创新、新颖;思维相对比较有独创新;追求精神层面,是个思想、精神较丰富的人,有一定的精神内涵;笔者追求和实现本我欲望的执行力和行动力偏强;具有天生的艺术鉴赏能力;创新力、创作力超强;2、盲区:笔者的行动力无法驾驭自己的所思所想;自己平时的想法一定要接地气,可执
- 多态
你的小董
多态简介多态就是事物存在的多种形态,比如你在大街上看见一只藏獒,你可以说这只藏獒真凶猛,也可以说这只狗真凶猛,还可以说这个动物真凶猛,以上三种说法其实都是指的这只藏獒。在Java里面,也是存在多态的,只要全部符合下面这三种情况,就是多态有继承有方法重写有父类引用指向子类对象例如下面代码就构成多态、定义一个Animal类publicclassAnimal{intnum=10;publicvoidea
- Java实现 LeetCode 230 2的幂
南 墙
LeetCode位运算2的幂
231.2的幂给定一个整数,编写一个函数来判断它是否是2的幂次方。示例1:输入:1输出:true解释:20=1示例2:输入:16输出:true解释:24=16示例3:输入:218输出:falsePS:2的次幂和他的上一位数&的结果为08的二进制就是10007的二进制就是0111结果========0000classSolution{publicbooleanisPowerOfTwo(intn){i
- 5-2day-homework(登录窗口)
阅心_5cc2
登录页面body{margin:0;padding:0;background:url(../img/timg.jpg);}.d1{margin:50px200px;height:300px;width:310px;background-color:rgba(230,230,230,0.7);padding:60px45px;border-radius:20px;}.t1{display:block
- LintCode 453. 将二叉树拆成链表
CW不要无聊的风格
题目描述将一棵二叉树按照前序遍历拆解成为一个假链表。所谓的假链表是说,用二叉树的right指针,来表示链表中的next指针。不要忘记将左儿子标记为null,否则你可能会得到空间溢出或是时间溢出。测试样例输入:{1,2,5,3,4,#,6}输出:{1,#,2,#,3,#,4,#,5,#,6}解释:1/\25/\\3461\2\3\4\5\6输入:{1}输出:{1}解释:11解题思路与方法1.Devi
- Ubuntu22.04(Linux Mint 21)安装使用绿联USB无线网卡CM448(rtl8821CU)的方法
ericden
编译UbuntuubuntuUSB网卡trl8821CU绿联
我之前一直在惠普Z230图形工作站上使用的是LinuxMintCinnamon20.3,由于工作站不带无线网卡,最初使用FAST品牌的USB无线网卡(rtl8818eus),这个网卡使用倒是方便,即插即用,但是这个网卡是基于802.11ag的网速较慢,最要命的是这个网卡极不稳定,时断时续;在网上买了一款TP-LINK的免驱版USB网卡(TL-WN823N),但是这款网卡仅支持Windows,Ubu
- 2018.11.30
LT婷_420期
姓名:罗婷婷公司:海南蔚蓝时代实业有限公司组别:第420期努力4组(参加培训时的组名)【日精进打卡第123天】【知~学习】《六项精进》大纲2遍共230遍《大学》遍2共230遍课外阅读书籍《别让沉不住气毁了你》每周读30页,截止今日完成40页。【经典名句分己所不欲,勿施于人【行~实践】一、修身:(对自己个人)早起吃早餐喝温开水坚持每天吃点水果二、齐家:(对家庭和家人)和妈妈聊天三、建功:(对工作)休
- YOLOv8目标检测结果分析
MechMaster
计算机视觉YOLO目标检测人工智能
使用YOLOv8检测图片中的动物importcv2fromultralyticsimportYOLOmodel=YOLO(model="yolov8n.pt")results=model(source="animal2.jpg")result=results[0]img=result.plot()frommatplotlibimportpyplotaspltplt.imshow(X=img[:,:
- 230 突变3 2019.10.11
勇敢兔
(1)事件反思下午吴迪被人事经理(跟吴迪关系很好)约出去谈话,然后他就被通知:他被辞退了。原因是人事经理之前告诉他研发总监提出离职,他跟XX说了这件事,XX把他的聊天截图发给研发总监。等现在研发总监跟公司谈好加码,决定留下时,把他的聊天记录拿出来,说他扰乱军心,论罪当诛。他就被处置了。我从这件事里得出结论:必须成为栋梁之才,才能不会被轻易替代,技术之才、人脉之才、管理之才…各方面都要够出色。一个天
- 2019-08-07
李倩_2e41
《提高记忆力,这几个方法就够了》你想拥有超强的记忆力吗?拥有了这项能力,你可以拥有优异的成绩,成为知识渊博的人。先了解我们的大脑,我们每一个健康的成年人的大脑平均有140亿至230亿个脑细胞。对于常人来说,在这么多的脑细胞中,一生中最多只有15%左右的脑细胞在参与工作,还有近85%是处于有待使用的状态,当然并不是说没有用处,而是指在开发我们大脑思维潜能方面没有用。那些伟大的科学家和伟人,最多也只使
- Day11+5组|230号|阿兄|《富兰克林自传》
向阳花2021
今天看了《富兰克林自传》第三部分的的前半部分,主要讲了富兰克林在经营自己的印刷所之际,由于有了良好的合作伙伴,开始兼任政府职位,这就为富兰克林打开了通往公共事务的窗口。在政府部门任职期间,富兰克林深入观察社会,不断思考,了解民众所需,通过和一群志同道合的朋友的努力,重组了巡夜机构、创建了“联合消防队”,建立了学院,为社会的健康有序发展制定了很多规则、章程。可以说富兰克林真的是一个智者,他的视角很敏
- es5 vs es6 继承
乌龙茶不甜
JavaScriptes6javascript前端
ES5继承借助构造函数继承(call,apply);无法继承父级原型上属性和方法functionAnimal(name,txt){console.log('构造函数:Animal',this,name,txt)this.type='父类'this.name='Animal_'+name;this.txt=txt}Animal.prototype.getName=function(){console
- ES6中类的继承
野生小农
es6前端ecmascript1024程序员节
class可以通过extends关键字实现继承,子类可以没有构造函数,系统会默认分配。子类提供了构造函数则必须要显示调用super。super函数类似于借用构造函数。类似于Animal.call()1.子类对象指向父类对象2.子类原型对象继承父类原型对象classAnimal(){//静态属性staticanimalAttr='Animal的静态属性';constructor(name,age,w
- 2023-07-10
江兆勇Jon
凝炼联班中级班第三讲作业:锦志25一乔恩一、判断下列对联采用何种传统对格?1、清联230、海棠吟社麟庆逸兴遄飞,任他风风雨雨;春光如许,招来燕燕莺莺。叠字,句内自对。2、前人联閒看門中月;思耕心上田。拆字对3、前人联:人中柳如是;是如柳中人。回文联。规则重字。二、找出下列对联与六要素有矛盾之处,说明可以成对的原因:1、簪碧堂商盘北院喜新成,有寒碧千层,远青一角;东君如旧识,正庭槐垂荫,梁燕将雏。句
- 创建类,继承上述Animal类,并重写父类方法。
Joypang
publicclassDogFuGaiFangFa{//创建类,继承AnimalpublicvoiddoRun(){//由于父类由该方法,因此这里失宠写doRun方法System.out.println("狗有四条腿,会跑");}publicstaticvoidmain(String[]args){DogFuGaiFangFadog=newDogFuGaiFangFa();//创建字类的实例dog
- 力扣230题详解:二叉搜索树中第K小的元素的多种解法与模拟面试问答
数据分析螺丝钉
LeetCode刷题与模拟面试leetcode面试算法经验分享python
在本篇文章中,我们将详细解读力扣第230题“二叉搜索树中第K小的元素”。通过学习本篇文章,读者将掌握如何在二叉搜索树中高效地查找第K小的元素,并了解相关的复杂度分析和模拟面试问答。每种方法都将配以详细的解释,以便于理解。问题描述力扣第230题“二叉搜索树中第K小的元素”描述如下:给定一个二叉搜索树的根节点root,和一个整数k,请你设计一个算法查找其中第k小的元素。示例:输入:root=[3,1,
- 英语学习打卡第46天
美人志_8cdd
今天学到的单词有suchas例如as同样的such那么这样的animal动物guide导游zebra斑马tiger老虎panda熊猫monkey猴子lion狮子giraffe长颈鹿elephant大象bear熊story故事read读week星期farmer工人
- 种子计划第230天
艾琳天堂印花设计
这是我们几个小伙伴的绘画练习记录。图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App作为一个和惰性斗争多年的老司机,我最终发觉自律不靠谱,还是得靠他律。于是我们几个就建立了一个微信群,每天把自己画的发到群里。群规则:此群为绘画练习激进群每天必须发一张练习时长不少于半小时的画稿(非工作时间画的),当天晚上12点
- 亲子时间管理践行2.0-52/90
晨first
52/90/2易效能亲子时间管理100期2.0打卡践行记录日期:2019年7月28日Sunday晴️“没有反思的人生不值得过,永远下一步!”妈妈七月践行目标(结合230期1.0/2.0践行目标)-易效能践行第199天1早睡早起:️早5:00晚21:302晨起学习:每天演讲学习3运动打卡:+8000/每天30分(减肥5斤)4每天扔一物,每周整理5参加亲子教练预备营,成为一名亲子教练6每天和孩子睡前悄
- 2018-10-21
阳光的西瓜
姓名:陈祝儒公司:海南蔚蓝时代实业有限公司组别:第420期谦虚一组【日精进打卡第82天】【知~学习】《六项精进》大纲4遍,共230遍《大学》0遍,共91遍【经典名句分享】世上无难事,只要肯攀登【行~实践】一、修身:(对自己个人)1.笑脸待人2.按时吃饭3.反省自己二、齐家:(对家庭和家人)给弟弟买礼物三、建功:(对工作)1.按照工作计划完成工作{积善}:发愿从2018年8月1日起日行一善。今日1善
- 2019-01-03
我又不是奥利奥泡什么泡
姓名:张艳秋公司:海南蔚蓝时代实业有限公司组别:第420期乐观一组(参加培训时的组名)【日精进打卡第157天】【知~学习】《六项精进》大纲1遍共230遍《大学》1遍共248遍课外阅读书籍每周读20页,今日完成0页【经典名句分享】付出不亚于任何人的努力【行~实践】一、修身:(对自己个人)按时吃饭,二、齐家:(对家庭和家人)跟妈妈视频三建功:(对工作)正常工作{积善}:发愿从2018年7月31日起1年
- 2023-01-09
Rankovic
“一座恭王府,半部清朝史。”这是著名是历史地理学家侯仁之对恭王府的评价。恭王府自问世以来,经历了100多年的风雨岁月,见证了清朝从鼎盛到衰亡的全过程,最终随着清朝的灭亡迅速覆灭。晚间的恭王府深幽清静,光影间依然可见殿堂上飞檐翘脊,宅院内高墙深苍,厚重的青砖府墙诉说着这里曾经显赫的地位和辉煌的往事。恭王府最早建于乾隆四十一年,至今已有230余年的历史,咸丰元年(1851)咸丰帝将整座王府赐给恭亲王奕
- 亲子日记~第230篇(收心)
杨张清淙
今天是2018年9月5日,星期三,天气晴朗!时间过得很快,转眼间开学已经第三天了,这几天通过孩子们每天做作业的情况来讲,一点都不好,就那么一点作业没填晚上都要磨叽到很晚,而且很多不会做的,上课肯定是听课不认真,领悟不到其中的意义,自己不能独立做题,还得需要讲解,二班这种情况最明显,玩了一个暑假玩疯了,到现在为止心都没有收回来,一心想着看电视,玩,因此题就不会做,这两天的作业我们三个人感觉就是在吵架
- Animal Farm(109)
云手a
ForthenexttwodaysBoxerremainedinhisstall.Thepigshadsentoutalargebottleofpinkmedicinewhichtheyhadfoundinthemedicinechestinthebathroom,andCloveradministered【vt.管理;执行;给予】ittoBoxertwiceadayaftermeals.Inth
- 《论语》学习第230天,11.2从我于陈蔡者,皆不及门也
流水王丽霞
弘毅乐学书院之学妹读经一字一句读《论语》,第230天原文阅读:11.2子曰:“从我于陈、蔡者,皆不及门也。”译文讲解:孔子悲凉地说:“在陈国、蔡国跟随我的人,今天都不在我门下了!”启发思考:这一章是孔子晚年思念与他经历过“厄于陈蔡”弟子们时发出的感叹。《史记孔子世家》记载,春秋时期吴楚相争,吴国攻打陈国,陈国不敌,向楚国求援,楚国派了军队驻守在城父。楚昭王听说孔子师徒在陈、蔡之间,派使者聘孔子到楚
- 省心的不动产投资,却为何让他不省心?
ATC未来资产
在中国,不动产投资被称为是最省心的投资方式,但是有很多投资者却说“省心的投资方式,却让他们不省心”,这是为什么呢?让我们一起来看看。江苏林先生,17年在杭州投资了一套230平的不动产,想作为长期居住,由于不动产价格的上涨让那个林先生非常高兴,认为这是一场成功的投资。转眼时间到了18年9月,家中发生重大经济危机,没有办法林先生想要将自己的不动产进行交易,结果没想到没有办法交易,而且即使可以交易,中介
- 基本数据类型和引用类型的初始值
3213213333332132
java基础
package com.array;
/**
* @Description 测试初始值
* @author FuJianyong
* 2015-1-22上午10:31:53
*/
public class ArrayTest {
ArrayTest at;
String str;
byte bt;
short s;
int i;
long
- 摘抄笔记--《编写高质量代码:改善Java程序的151个建议》
白糖_
高质量代码
记得3年前刚到公司,同桌同事见我无事可做就借我看《编写高质量代码:改善Java程序的151个建议》这本书,当时看了几页没上心就没研究了。到上个月在公司偶然看到,于是乎又找来看看,我的天,真是非常多的干货,对于我这种静不下心的人真是帮助莫大呀。
看完整本书,也记了不少笔记
- 【备忘】Django 常用命令及最佳实践
dongwei_6688
django
注意:本文基于 Django 1.8.2 版本
生成数据库迁移脚本(python 脚本)
python manage.py makemigrations polls
说明:polls 是你的应用名字,运行该命令时需要根据你的应用名字进行调整
查看该次迁移需要执行的 SQL 语句(只查看语句,并不应用到数据库上):
python manage.p
- 阶乘算法之一N! 末尾有多少个零
周凡杨
java算法阶乘面试效率
&n
- spring注入servlet
g21121
Spring注入
传统的配置方法是无法将bean或属性直接注入到servlet中的,配置代理servlet亦比较麻烦,这里其实有比较简单的方法,其实就是在servlet的init()方法中加入要注入的内容:
ServletContext application = getServletContext();
WebApplicationContext wac = WebApplicationContextUtil
- Jenkins 命令行操作说明文档
510888780
centos
假设Jenkins的URL为http://22.11.140.38:9080/jenkins/
基本的格式为
java
基本的格式为
java -jar jenkins-cli.jar [-s JENKINS_URL] command [options][args]
下面具体介绍各个命令的作用及基本使用方法
1. &nb
- UnicodeBlock检测中文用法
布衣凌宇
UnicodeBlock
/** * 判断输入的是汉字 */ public static boolean isChinese(char c) { Character.UnicodeBlock ub = Character.UnicodeBlock.of(c);
- java下实现调用oracle的存储过程和函数
aijuans
javaorale
1.创建表:STOCK_PRICES
2.插入测试数据:
3.建立一个返回游标:
PKG_PUB_UTILS
4.创建和存储过程:P_GET_PRICE
5.创建函数:
6.JAVA调用存储过程返回结果集
JDBCoracle10G_INVO
- Velocity Toolbox
antlove
模板toolboxvelocity
velocity.VelocityUtil
package velocity;
import org.apache.velocity.Template;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.c
- JAVA正则表达式匹配基础
百合不是茶
java正则表达式的匹配
正则表达式;提高程序的性能,简化代码,提高代码的可读性,简化对字符串的操作
正则表达式的用途;
字符串的匹配
字符串的分割
字符串的查找
字符串的替换
正则表达式的验证语法
[a] //[]表示这个字符只出现一次 ,[a] 表示a只出现一
- 是否使用EL表达式的配置
bijian1013
jspweb.xmlELEasyTemplate
今天在开发过程中发现一个细节问题,由于前端采用EasyTemplate模板方法实现数据展示,但老是不能正常显示出来。后来发现竟是EL将我的EasyTemplate的${...}解释执行了,导致我的模板不能正常展示后台数据。
网
- 精通Oracle10编程SQL(1-3)PLSQL基础
bijian1013
oracle数据库plsql
--只包含执行部分的PL/SQL块
--set serveroutput off
begin
dbms_output.put_line('Hello,everyone!');
end;
select * from emp;
--包含定义部分和执行部分的PL/SQL块
declare
v_ename varchar2(5);
begin
select
- 【Nginx三】Nginx作为反向代理服务器
bit1129
nginx
Nginx一个常用的功能是作为代理服务器。代理服务器通常完成如下的功能:
接受客户端请求
将请求转发给被代理的服务器
从被代理的服务器获得响应结果
把响应结果返回给客户端
实例
本文把Nginx配置成一个简单的代理服务器
对于静态的html和图片,直接从Nginx获取
对于动态的页面,例如JSP或者Servlet,Nginx则将请求转发给Res
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugin
blackproof
maven报错
转:http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin
maven报错:
Plugin execution not covered by lifecycle configuration:
- 发布docker程序到marathon
ronin47
docker 发布应用
1 发布docker程序到marathon 1.1 搭建私有docker registry 1.1.1 安装docker regisry
docker pull docker-registry
docker run -t -p 5000:5000 docker-registry
下载docker镜像并发布到私有registry
docker pull consol/tomcat-8.0
- java-57-用两个栈实现队列&&用两个队列实现一个栈
bylijinnan
java
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
/*
* Q 57 用两个栈实现队列
*/
public class QueueImplementByTwoStacks {
private Stack<Integer> stack1;
pr
- Nginx配置性能优化
cfyme
nginx
转载地址:http://blog.csdn.net/xifeijian/article/details/20956605
大多数的Nginx安装指南告诉你如下基础知识——通过apt-get安装,修改这里或那里的几行配置,好了,你已经有了一个Web服务器了。而且,在大多数情况下,一个常规安装的nginx对你的网站来说已经能很好地工作了。然而,如果你真的想挤压出Nginx的性能,你必
- [JAVA图形图像]JAVA体系需要稳扎稳打,逐步推进图像图形处理技术
comsci
java
对图形图像进行精确处理,需要大量的数学工具,即使是从底层硬件模拟层开始设计,也离不开大量的数学工具包,因为我认为,JAVA语言体系在图形图像处理模块上面的研发工作,需要从开发一些基础的,类似实时数学函数构造器和解析器的软件包入手,而不是急于利用第三方代码工具来实现一个不严格的图形图像处理软件......
&nb
- MonkeyRunner的使用
dai_lm
androidMonkeyRunner
要使用MonkeyRunner,就要学习使用Python,哎
先抄一段官方doc里的代码
作用是启动一个程序(应该是启动程序默认的Activity),然后按MENU键,并截屏
# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRun
- Hadoop-- 海量文件的分布式计算处理方案
datamachine
mapreducehadoop分布式计算
csdn的一个关于hadoop的分布式处理方案,存档。
原帖:http://blog.csdn.net/calvinxiu/article/details/1506112。
Hadoop 是Google MapReduce的一个Java实现。MapReduce是一种简化的分布式编程模式,让程序自动分布到一个由普通机器组成的超大集群上并发执行。就如同ja
- 以資料庫驗證登入
dcj3sjt126com
yii
以資料庫驗證登入
由於 Yii 內定的原始框架程式, 採用綁定在UserIdentity.php 的 demo 與 admin 帳號密碼: public function authenticate() { $users=array( &nbs
- github做webhooks:[2]php版本自动触发更新
dcj3sjt126com
githubgitwebhooks
上次已经说过了如何在github控制面板做查看url的返回信息了。这次就到了直接贴钩子代码的时候了。
工具/原料
git
github
方法/步骤
在github的setting里面的webhooks里把我们的url地址填进去。
钩子更新的代码如下: error_reportin
- Eos开发常用表达式
蕃薯耀
Eos开发Eos入门Eos开发常用表达式
Eos开发常用表达式
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2014年8月18日 15:03:35 星期一
&
- SpringSecurity3.X--SpEL 表达式
hanqunfeng
SpringSecurity
使用 Spring 表达式语言配置访问控制,要实现这一功能的直接方式是在<http>配置元素上添加 use-expressions 属性:
<http auto-config="true" use-expressions="true">
这样就会在投票器中自动增加一个投票器:org.springframework
- Redis vs Memcache
IXHONG
redis
1. Redis中,并不是所有的数据都一直存储在内存中的,这是和Memcached相比一个最大的区别。
2. Redis不仅仅支持简单的k/v类型的数据,同时还提供list,set,hash等数据结构的存储。
3. Redis支持数据的备份,即master-slave模式的数据备份。
4. Redis支持数据的持久化,可以将内存中的数据保持在磁盘中,重启的时候可以再次加载进行使用。
Red
- Python - 装饰器使用过程中的误区解读
kvhur
JavaScriptjqueryhtml5css
大家都知道装饰器是一个很著名的设计模式,经常被用于AOP(面向切面编程)的场景,较为经典的有插入日志,性能测试,事务处理,Web权限校验, Cache等。
原文链接:http://www.gbtags.com/gb/share/5563.htm
Python语言本身提供了装饰器语法(@),典型的装饰器实现如下:
@function_wrapper
de
- 架构师之mybatis-----update 带case when 针对多种情况更新
nannan408
case when
1.前言.
如题.
2. 代码.
<update id="batchUpdate" parameterType="java.util.List">
<foreach collection="list" item="list" index=&
- Algorithm算法视频教程
栏目记者
Algorithm算法
课程:Algorithm算法视频教程
百度网盘下载地址: http://pan.baidu.com/s/1qWFjjQW 密码: 2mji
程序写的好不好,还得看算法屌不屌!Algorithm算法博大精深。
一、课程内容:
课时1、算法的基本概念 + Sequential search
课时2、Binary search
课时3、Hash table
课时4、Algor
- C语言算法之冒泡排序
qiufeihu
c算法
任意输入10个数字由小到大进行排序。
代码:
#include <stdio.h>
int main()
{
int i,j,t,a[11]; /*定义变量及数组为基本类型*/
for(i = 1;i < 11;i++){
scanf("%d",&a[i]); /*从键盘中输入10个数*/
}
for
- JSP异常处理
wyzuomumu
Webjsp
1.在可能发生异常的网页中通过指令将HTTP请求转发给另一个专门处理异常的网页中:
<%@ page errorPage="errors.jsp"%>
2.在处理异常的网页中做如下声明:
errors.jsp:
<%@ page isErrorPage="true"%>,这样设置完后就可以在网页中直接访问exc