自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

风华绝代

苍茫大地一剑尽挽破,何处繁华笙歌落。斜倚云端千壶掩寂寞,纵使他人空笑我

  • 博客(329)
  • 资源 (8)
  • 收藏
  • 关注

原创 数据结构排序算法比较

快速排序javapackage codeB;public class 快速排序 { //METHOD SIGNATURE BEGINS, THIS METHOD IS REQUIRED public static void quickSort(int[] arr,int low,int high) { // INSERT YOUR CODE HERE if(lo...

2019-09-23 09:36:08 314

原创 计算机OSI七层和封装过程

最后说一下经常分不清的网桥、网关、和网卡的区别:1、网桥,是把两个不同物理层,不同MAC子层,不同速率的局域网连接在一起。比如说10MB/S与100MB/S的局域网。因为它有储存转化功能。2、网卡是电脑的一个接收信息 转换信息 暂储信息的一个硬件。它是把接受到信息递交给上层,如(CUP)的一个接口。3、网关(Gateway)又称网间连接...

2019-06-29 10:28:15 2026

原创 安卓连接云数据库

连接云数据库我想了一下,自己目前就掌握了两种方法,一种是线程,一种是异步。那么哪种方法比较好呢。其实是异步我个人觉得更好,其实异步的连接也是一种线程的方式,不过不够明显。我写了一个登陆的demo.       先说一下单纯的线程方式:       package com.example.myphone;import java.io.IOException;import java.io

2015-03-02 10:18:46 3820 1

原创 SharedPreferences

除了SQLite数据库外,SharedPreferences也是一种轻型的数据存储方式,它的本质是基于XML文件存储key-value键值对数据,通常用来存储一些简单的配置信息。其存储位置在/data/data//shared_prefs目录下。SharedPreferences对象本身只能获取数据而不支持存储和修改,存储修改是通过Editor对象实现。实现SharedPreferences存储的

2015-03-01 22:49:43 583

原创 自定义view

view的自定义使用不仅仅包括在xml的页面进行赋值和布局,也可以在java中直接用语言进行布局,从而在xml中调用代码形成的模板。MainActivitypackage com.muke.mukemytopbar;import com.muke.mukemytopbar.Topbar.tobarClickListener;import android.os.Bundle;imp

2015-02-04 10:25:01 562

原创 安卓的拼图游戏(二)

表示已经做完了整个程序,感觉收获还是很多的。。对着视频敲代码也发生了很多的错   误,但是对于时间的控制和RelativeLayout的自控件的使用也有了了解,觉得还不错。MainActivitypackage com.innoc.game.pintu;import android.app.Activity;import android.app.AlertDialog;import

2015-02-03 12:15:19 1239 2

原创 安卓拼图游戏(一)

完成了拼图的切换和动画效果,熟悉了View的用法,总体来说还是感觉很张见识的。。主类package com.innoc.game.pintu;import com.example.first.R;import android.os.Bundle;import android.app.Activity;import android.view.Menu;public c

2015-02-02 16:57:00 1129 3

原创 A. Design Tutorial: Learn from Math

A. Design Tutorial: Learn from Mathtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne way to create a task

2014-10-10 14:50:37 1179 2

原创 java版的MD5算法程序,可以输入次数

java版的MD5算法加密程序,可以输入次数,进行测试。

2014-10-10 14:07:36 1061

原创 mfc编就的MD5加密算法程序

编完了计算器的,觉得

2014-10-10 14:07:27 2796

原创 mfc编的计算器程序

已经是许久没有

2014-10-09 14:30:58 1343

原创 操作系统常考面试题目

1、什么是进程(Process)和线程(Thread)?有何区别?  进程是具有一定独立功能的程序关于某个数据集合上的一次运行活动,进程是系统进行资源分配和调度的一个独立单位。线程是进程的一个实体,是CPU调度和分派的基本单位,它是比进程更小的能独立运行的基本单位。线程自己基本上不拥有系统资源,只拥有一点在运行中必不可少的资源(如程序计数器,一组寄存器和栈),但是它可与同属一个进程的其他的

2014-06-16 19:38:43 934

原创 常考链表的面试题目

题一、 给定单链表,检测是否有环。    使用两个指针p1,p2从链表头开始遍历,p1每次前进一步,p2每次前进两步。如果p2到达链表尾部,说明无环,否则p1、p2必然会在某个时刻相遇(p1==p2),从而检测到链表中有环。http://ostermiller.org/find_loop_singly_linked_list.html这篇文章讲了很多好的坏得相关算法。题

2014-06-14 20:14:01 862

原创 记第五届ACM省赛总结—----没有努力,最终只能是悲剧

当我从大一下半学期开始搞ACM以来,从此ACM伴随我

2014-05-13 20:40:12 1398 2

原创 B. Inna and Nine

B. Inna and Ninetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInna loves digit 9 very much. That's why sh

2014-04-29 16:59:09 942

原创 Codeforces Round #220 (Div. 2) A. Inna and Pink Pony 这个题目不简单的

A. Inna and Pink Ponytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDima and Inna are doing so great! At t

2014-04-29 15:42:19 1388

原创 Codeforces Beta Round #48 A. Cheaterius's Problem

A. Cheaterius's Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCheaterius is a famous in all the B

2014-04-27 11:22:05 736

原创 hdu 4496 并查集的变形

D-CityTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 1055    Accepted Submission(s): 404Problem DescriptionLuxer is a really ba

2014-04-26 20:40:45 910

原创 Pascal's Travels hdu 1208 子状态继承的dp问题,值得一做

Pascal's TravelsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1572    Accepted Submission(s): 689Problem DescriptionAn n x n g

2014-04-23 17:14:01 867

原创 Codeforces Round #216 (Div. 2) B. Valera and Contest

B. Valera and Contesttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputValera loves to participate in competi

2014-04-23 15:50:27 877

原创 Codeforces Round #216 (Div. 2) A. Valera and Plates

A. Valera and Platestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputValera is a lazy student. He has m clea

2014-04-22 20:10:14 1057

原创 Play the Dice hdu 4586 数学期望的问题

Play the DiceTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 710    Accepted Submission(s): 253Special JudgeProblem DescriptionT

2014-04-22 19:40:23 1108

原创 2013年山东省赛题目 Alice and Bob

Alice and BobTime Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^题目描述    Alice and Bob like playing games very much.Today, they introduce a new game.    There is a polynomial like thi

2014-04-19 10:05:44 1173

转载 把一个数转化为二进制的模板

还不错的模板,把一个数转化为二进制的模板

2014-04-19 09:38:07 1028

原创 Friends zoj 3710

FriendsTime Limit:2 Seconds      Memory Limit: 65536 KB Alice lives in the country where people like to make friends. The friendship is bidirectional and if any two person have no less tha

2014-04-17 15:33:49 1044 1

原创 Break Standard Weight zoj 3706

Break Standard WeightTime Limit: 2 Seconds      Memory Limit: 65536 KB The balance was the first mass measuring instrument invented. In its traditional form, it consists of a pivoted horizon

2014-04-17 10:52:51 933

原创 A. Password Check

A. Password Checktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have probably registered on Internet s

2014-04-16 16:03:28 854

原创 codeforces 416 B. Art Union

B. Art Uniontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA well-known art union called "Kalevich is Aliv

2014-04-15 16:43:34 1250

原创 第十一届浙江省赛题目

Pokemon MasterTime Limit:2 Seconds      Memory Limit: 65536 KB Calem and Serena are pokemon masters. One day they decided to have a pokemon battle practice before Pokemon World Champions

2014-04-15 15:23:16 1403

原创 Codeforces Round #241 (Div. 2) A. Guess a number!

A. Guess a number!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA TV show called "Guess a number!" is gat

2014-04-13 16:51:23 946

原创 Rescue The Princess

Rescue The PrincessTime Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^题目描述    Several days ago, a beast caught a beautiful princess and the princess was put in prison. To rescue the pr

2014-04-10 17:16:54 2585

原创 hdu 1107 一道很霸气的模拟题目

武林Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2462    Accepted Submission(s): 657Problem Description在一个有12行12列的方形的武林世界里,少林、

2014-04-09 20:25:28 1373

原创 Codeforence 23C Oranges and Apples

C. Oranges and Applestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn 2N - 1 boxes there are apples and

2014-04-09 15:42:34 1037

原创 Codeforence 23 B. Party 比较有趣的思维问题

B. Partytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputn people came to a party. Then those, who had no f

2014-04-09 10:40:20 1142

原创 hdu 2216 Game III

Game IIITime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1285    Accepted Submission(s): 362Problem DescriptionZjt and Sara will

2014-04-09 09:55:09 856

原创 hdu 2212 数学问题

DFSTime Limit: 5000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4702    Accepted Submission(s): 2884Problem DescriptionA DFS(digital factoria

2014-04-08 20:40:58 933

原创 codeforences 29A

A - You're Given a String... pTime Limit: 2000MS Memory Limit: 262144K 64bit IO Format: %I64d & %I64u[Submit]   [Go Back]   [Status]DescriptionYou

2014-04-08 20:10:02 956

原创 fzu Problem 2152 文件系统

Problem 2152 文件系统Accept: 37    Submit: 73Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem Description每个Linux文件具有四种访问权限:可读(r)、可写(w)、可执行(x)和无权限(-)。利用ls -l命令可以看到某个文件或目录的

2014-04-03 16:06:56 608

原创 fzu Problem 2154 YesOrNo

Problem 2154 YesOrNoAccept: 61    Submit: 129Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem DescriptionA国认为如果字符串a可以通过操作X变成字符串b,就认为是一样的字符串。操作X:将字符串分为两部分,然后调换位置,操作次数不

2014-04-03 11:00:17 932

原创 hdu 2211

杀人游戏Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1506    Accepted Submission(s): 315Problem Description不知道你是否玩过杀人游戏,这里的杀人游戏可没

2014-04-02 01:00:39 1272

使用java进行EXCEL的读取和保存

使用java进行EXCEL的读取和保存

2021-06-25

protobuf-java-3.11.2.zip

亲测可用,欢迎大家下载。已经成功跑出来了protobuf文件,对于java开发很有帮助,可用于java

2019-12-28

Vue-Devtools--master.zip

已经用npm处理过的Devtools源码,而且已经给你配置好了manifest.json和webpack.config.js文件,已经处理好了,拿来就用.不需要担心npm install build出错了怎么办,可以得到妥善的解决。可以进行导入就可以了实际上。

2019-05-11

利用SN74181芯片构成16位ALU的原理

利用SN74181芯片构成16位ALU的原理,介绍的非常的详细,应该说对于实际使用帮助很大

2018-12-27

barcode4j-light-2.0

亲测好用,目前二维码的应用场景已经遍布各类互联网平台,通常是将产品/商品的唯一编号存储于二维码中以做扫码识别。 而用于生产环境的条形码技术仍然存在,如硬件设备制造、供应、物流运输等等。 在常见的产品信息管理、物料订单系统中,存在多个生成及打印条形码(一维码)的需求场景。

2018-12-10

WS2_32.Lib

socket 编程使用的,确实亲测可用的,效果非常好,我用于socket编程

2018-05-08

scoket编程

scoket c++很不错的

2018-05-08

背包九讲的介绍

背包问题详细介绍,保证大家可以轻松学好背包问题,当然了背包的问题还是靠大家去领悟

2013-08-11

空空如也

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

TA关注的人

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