自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

无知的我

先入行,知深浅,再抉择

  • 博客(22)
  • 资源 (180)
  • 收藏
  • 关注

原创 B. Fox Dividing Cheese

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo little greedy bears have found two pieces of cheese in the fo

2013-12-27 17:51:12 1501

原创 JAVA过滤html标签

过滤URL网址,邮箱地址,html标签,JS代码,各种转义字符public static final String Upset = " ";public static String killTags(String news) { String s = news.replaceAll("amp;", "").replaceAll("", ">"); Pattern pattern

2013-12-27 17:41:26 2131

原创 A. Lever

time limit per test1>memory limit per test256>inputstandard>outputstandard>You have a description of a lever as string s. We'll represent the string length as record |s|, the

2013-12-25 18:11:05 1551

原创 JAVA命令行参数设定

在服务器上面运行java程序时,常常需要输入参数,为了防止记不住或者位置出错等问题,需要给出相关的提示,好在这个很容易实现。首先下载 common-cli这个jar包,可以从这里下载:http://commons.apache.org/proper/commons-cli/然后把jar包添加到工程中去,在传递参数时添加如下代码: String source_path; Str

2013-12-24 18:49:12 1994

原创 A. Valera and Plates

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputValera is a lazy student. He has m clean bowls and k clean plat

2013-12-23 17:27:56 1397

原创 对词向量进行Kmeans距离

使用过word2vec的人都知道,使用word2vec训练得到的结果是每个词对应一个向量。虽然word2vec提供了kmeans的聚类方法,但是它是对所有原始的词进行聚类,如果我们只需要对其中一部分词按照向量进行kmeans聚类,那只好自己写方法。参考网上一个开源的JAVA版 word2vec,可以得到JAVA版的kmeans聚类,输入为一个csv文件,每一行为词和其向量,输出为词的类别,词,

2013-12-20 16:51:18 6530 10

原创 B. Permutation

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA permutation p is an ordered group of numbers p1,   p2,   ...,  

2013-12-18 18:20:58 1432

原创 A. Rook, Bishop and King

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya is learning to play chess. He has already learned ho

2013-12-18 10:02:33 1394

原创 B. Little Elephant and Sorting

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Little Elephant loves sortings.He has an array a consisti

2013-12-16 18:24:48 1386

原创 A. Collecting Beats is Fun

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCucumber boy is fan of Kyubeat, a famous music game.Kyubeat h

2013-12-15 09:58:19 1354

原创 A. Two Semiknights Meet

解题说明:此题就需要找到两个K的位置,然后加以判断即可。#include#include int main(){ int i, j, n, flag; char a[9][9]; char k1[2], k2[2]; scanf("%d", &n); while (n--) { getchar(); flag = 0; for (i = 0; i<8; i++)

2013-12-13 21:34:20 1216

原创 A. K-Periodic Array

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis task will exclusively concentrate only on the arrays where a

2013-12-12 21:36:23 1941

原创 A. Numbers

time limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputLittle Petya likes numbers a lot. He found that number 123 in base

2013-12-10 17:14:52 2025

原创 A. Lefthanders and Righthanders

time limit per test1 secondmemory limit per test256 megabytesinputinput.txtoutputoutput.txtOne fine October day a mathematics teacher Vasily Petrov went to a class an

2013-12-09 21:09:38 1583

原创 通过词找到对应的文章类别

如何对文章进行分类,投递到诸如国内,国际,体育,财经等等这些类别中去。其中一个方法是人工去判断,但是在目前每天产生2万篇新闻的今天,全靠编辑来分类显然不现实,为此我们需要对文章进行自动分类。如何自动分类,按照机器学习里面的说的,我们首先需要一个标记好的集合用来训练,该集合里面的数据都已经划分到了各个类别。目前搜狗提供了这样一份训练样本,其中的数据格式如下:第一列是ID,第二列是词,

2013-12-06 17:27:30 4010 7

原创 通过堆排序从1亿个数中找到最小的100个数

package com.my.util;import java.util.Arrays;import java.util.Date;import java.util.Random;public class Top100 { public static void main(String[] args) { find(); } public static void find(

2013-12-06 16:39:29 4489

原创 C. Another Problem on Strin

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA string is binary, if it consists only of characters "0" and "1

2013-12-06 16:33:32 1349

原创 A. Letter

time limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputA boy Bob likes to draw. Not long ago he bought a rectangular grap

2013-12-04 22:28:53 1697

原创 JAVA下mongo调用

项目中要用到mongo,简单学习了一下,还是挺简单的。首先下载mongoBD JAR包 https://github.com/mongodb/mongo-java-driver/downloads调用接口:import java.util.ArrayList;import com.mongodb.BasicDBObject;import com.mongodb.DB;impor

2013-12-04 15:00:25 1740

原创 B. Coach

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA programming coach has n students to teach. We know that n is

2013-12-03 18:42:26 1848

原创 B. Valera and Contest

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputValera loves to participate in competitions. Especially in progra

2013-12-02 21:12:26 1407

原创 代码提交管理流程

1.     原代码 2.     修改(加了几个字符)  3.     创建patch右键->team->创建补丁->保存到剪切板 ->桌面新建一个文本      ->将patch复制进去保存   4.     申请review登录reviewboard –>NewReviewboard Requ

2013-12-02 16:07:57 1726

爬取的虾米网全部专辑列表

爬取的虾米网全部专辑列表,包括作曲,专辑名称等等

2015-10-13

爬取的搜狐新闻数据

爬取的搜狐新闻数据,一共有12个类别,分好类了

2014-03-05

分词工具ANSJ 1.3版本

具体描述请看这里http://ansjsun.github.io/ansj_seg/ 这是最新的ANSJ版本,需要配合另一个tree-split jar包使用,请从这里下载:http://maven.ansj.org/org/ansj/

2014-02-14

豆瓣网电影人名数据爬取

豆瓣网电影人名数据爬取,得到的是全网段的数据

2014-01-03

JAVA JSON jar包

JAVA JSON jar包,调用如下:JSONObject record = new JSONObject(lines); JSONArray dataarray =record.getJSONArray("data"); JSONObject _dataarray =dataarray.getJSONObject(0); String content =_dataarray.get("co").toString(); String title =_dataarray.get("t").toString();

2013-11-26

百度词条爬虫程序

百度词条爬虫程序,爬取词条的摘要。

2013-10-09

斯坦福算法分析与设计公开课part2

斯坦福算法分析与设计公开课part2,课程地址:https://class.coursera.org/algo2-002/class

2013-10-08

IKAnalyzer分词工具

IKAnalyzer分词工具,包括lucene库和百度百科词条。

2013-09-26

hadoop mapreduce eclipse插件

最近学习hadoop,发现Hadoop不提供编译后的hadoop-eclipse插件,于是就自己动手编译了hadoop-eclipse-plugin-1.1.0.rar插件 Hadoop1.1.0是beta版本,有兴趣的朋友可以下载装装,感受下MapReduce编程框架

2013-09-23

ANSJ分词工具最新版

ANSJ最新版,把两个包添加到工程下,另外创建library文件夹,加入两个字典文件,最后把library.properties添加到src目录下即可。感谢孙健老师。

2013-09-16

机器学习课件和大作业

机器学习课件和大作业,研究生课程和大作业,授课老师为李侃老师。

2013-09-08

自然语言处理课件

coursera上面的自然语言处理课件,英文版

2013-09-05

Coding the Matrix全部课程讲义

布朗大学Philip Klein教授授课,讲述矩阵分析的应用,用python进行编程。

2013-09-03

自己收集的一些分词工具

自己收集的一些分词工具,包括中科院的ictclas,ansj,fudanNLP等等,相信对搞自然语言处理的有帮助

2013-08-28

ANSJ分词JAR包

ANSJ分词JAR包,Github上面已经找不到了,这是孙健老师通过QQ发给我的,很是感谢,关于ANSJ更多请看 http://blog.csdn.net/blogdevteam/article/details/8148451

2013-08-27

斯坦福算法分析与设计【part 1】课程讲义

课程地址:https://class.coursera.org/algo-004/class/index,Algorithms: Design and Analysis, Part 1 by Tim Roughgarden 授课老师魏讲解很到位,内容很具体。

2013-08-14

斯坦福机器学习公开课讲义+个人笔记

包括coursera上面斯坦福机器学习公开课讲义pdf,ppt,还有自己总结的学习笔记,可以参看我的博客:http://blog.csdn.net/jj12345jj198999

2013-06-27

web intelligence and big data

https://www.coursera.org/ 上面印度理工大学开设的公开课讲义和作业,包括mapreduce,贝叶斯分类,贝叶斯信念网等

2013-06-03

基于OpenCV的双目测距系统

基于OpenCV的双目测距系统,在ubuntu下用QT进行开发,dyb,大哥,周博童鞋原创

2013-06-03

计算机视觉课件

计算机视觉课件,全英文课件。讲课内容比较全,最后开卷考试。

2013-05-13

串口文件上传工具.rar

基于ZYNQ交叉编译环境编译的lrzse工具

2021-12-28

intel_i350固件烧写工具

intel固件烧写工具,在linux下可以烧i210和i350网卡固件mac地址,也可以烧写固件,非常好用

2020-12-11

ast2500开发手册文档

压缩包内为ast2500开发手册文档,主要介绍MDS工具的使用,方便用户进行ast2500应用开发。

2020-05-04

9344USB转串口驱动

文件中包含9344 USB转串口驱动,driver文件夹内为驱动,lib里面为应用示例库,example为应用程序示例。

2020-03-12

mellanox网卡驱动.zip

该资源为银河麒麟下适配的mellanox网卡驱动,先安装deb文件夹内的依赖包,再安装kylin4.0.2里面的deb包即可。

2020-03-10

linux下中断处理程序示例,含驱动和应用程序

该示例提供了中断处理的详细代码,含驱动程序和应用程序。用户可以直接调用接口进行中断函数的处理。

2018-08-19

mtd_tools针对arm-xilinx-linux-gnueabi(Sourcery_CodeBench)

mtd_tools针对arm-xilinx-linux-gnueabi(Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux),tar包形式 已经全部编译好,tar包直接解压就可以使用。使用前请确保编译器一致。

2018-04-14

mtd_tools针对arm-linux-gnueabihf(gcc-linaro-5.2)

mtd_tools针对gcc-linaro-5.2-2015.11-2-x86_64_arm-linux-gnueabihf.tar,已经全部编译好,tar包直接解压就可以使用。使用前请确保编译器一致。

2018-04-14

udp收包发性能测试程序

用于UDP收发包性能测试,测试CPU最大数据包收发效率,其中有丢包统计

2018-03-18

Linux实时内核-适用于redhat7

Linux实时内核-适用于redhat7,含linux3.10.75内核源码,以及对应补丁

2018-01-16

keyboard按键中断驱动

########## # README # ########## Purpose ------- To help understand which is the most commonly 'pressed' and 'released' key in the keyboard. Holding a key down will generate 'pressed' events more so, count of pressing need not be equal to release count. (This code works only for ps/2 keyboards, not usb which generates interrupt in different IRQ line.) How To Use ---------- Please don't proceed if you see any error in the below steps. 0. 0rth Law (as in thermodynamics) cat LICENSE 1. compile a. create the header files $ make header ( sometimes the above may not work, as it won't be able to get file descriptor. please run as sudo $ sudo make header ) b. compile the source $ make 2. Insert the module into kernel and setup the system $ keyboard_stats_load 3. Read the statistics $ cat /dev/keyboard_stats 4. Remove the module and system $ keyboard_stats_unload 5. Cleaning the dir $ make clean DEBUGGING --------- Mail the author or read /var/log/messages and try your luck by setting the scancodes etc. Misc ---- I wrote this code because few of my keys are more shiny than others and i had to find out why!! :-) Bugs ---- In my MAC VM, some keys were not working, like arrow keys! Author ------ Vigith Maurice (www.vigith.com)

2017-10-29

zynq下移植linux app示例

zynq下移植linux后运行的app示例,包括flash,cps1848等

2017-08-08

交换模块zynq部分FPGA程序源码

交换模块中zynq部分的FPGA设计,主要是vivado工程,其中包含源码

2017-08-08

交换模块PCP原理图设计

交换模块PCP原理图,其中包括ZYNQ ,BCM5396等,需要安装cadence软件进行查看

2017-08-08

zynq用户APP直接访问物理地址示例

zynq用户APP直接访问物理地址示例,用于zynq linux驱动开发

2017-06-16

1848-I2C测试程序

通过i2c对1848进行测试程序,串口中输出1848寄存器相关信息

2017-05-09

petalinux相关资料

petalinux全部开发文档,打包下载

2017-02-26

串口调试工具

自己编写的串口调试工具,和secureCRT相比多了保存常用命令的功能

2017-02-22

网络通讯软件

自己编写的网络通讯软件,可以实现自定义收发数据包,格式内容都可以自己定义,支持组播。同时也可以接收网络数据包,并且在界面上进行显示。

2017-02-22

zynq开发板linux移植资料

zynq开发板linux移植资料,包括从官网上下载的东西以及个人编写的文档

2016-12-20

空空如也

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

TA关注的人

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