自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (4)
  • 收藏
  • 关注

原创 Two Sum

Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution.Example:Given nums = [2,

2016-11-25 15:21:17 241

原创 Longest Repeating Character Replacement

Given a string that consists of only uppercase English letters, you can replace any letter in the string with another letter at most k times. Find the length of a longest substring containing all repe

2016-11-24 21:46:57 385

原创 python读取.raw了类型的图像

import ImagerawData =open("I.raw"'rb').read()im = Image.fromstring("F", (512,512), rawData, "raw", "F;32F")# "F" 指定图像的mode为“F”#  (512,512)为 图像大小# rawdata 为存放数据的变量# "raw" 指定图像

2016-10-17 21:21:16 11493 2

原创 Deep Learning--Classifying MNIST digits using Logistic Regression

最近在学习关于深度学习的一些基本知识。Classifying MNIST digits using Logistic Regression的模型和原理该网站讲的很清楚 点击打开链接。原理不在概述。其中要明白的一点的是该模型为线性的。下面为数据显示代码:# -*- coding: utf-8 -*-"""Created on Thu Jul 21 09:33:37 2016

2016-07-21 10:32:53 570

原创 Dijkstra算法

Dijkstra算法是寻找最短路径的一种方法,算法的思想是将路径顶点分为两类,一类为已找到的最优路径,一部分为还没有找到,每迭代一次会从未寻找的顶点中寻找到已经寻找到的最优路径的顶点的最优顶点,并更新最优路径到为寻找到的距离;#include "stdafx.h"#include #include using namespace std;const int maxnum = 100;

2016-04-09 20:10:16 285

原创 leetcode之Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element

2016-04-07 13:15:35 274

原创 leetcode之Power of Two

Given an integer, write a function to determine if it is a power of two.Credits:Special thanks to @jianchao.li.fighter for adding this problem and creating all test cases.Subscribe to se

2016-04-07 01:15:53 207

原创 leetcode之Range Sum Query - Immutab

Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.Example:Given nums = [-2, 0, 3, -5, 2, -1]sumRange(0, 2) -> 1sumRange(2, 5) -> -1sumRan

2016-04-06 13:38:28 265

原创 leetcode之Move Zeroes

Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0, 3, 12], after calling you

2016-04-05 23:54:06 284

原创 leetcode之Number of 1 Bits

最近在学习LeetCode上的算法题目,今天做了一题。Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For example, the 32-bit integer ’11' has bi

2015-04-29 19:46:08 361

原创 tomcat配置问题

今晚安装了一下全套的jsp软件,在安装tomcat时第一次运行成功,但是第二次运行时出现了问题,总是一闪而过,搞了一个晚上,环境配置等等,最终发现是由于任务管理器中有2个javaw.ext开着,关了,只留一个,问题解决啊。。。。。。。。。。。。。。。。。。。

2015-04-12 21:17:14 395

原创 2015/04/10随便扯扯

来到新的学校已经3天了,这意味着我的研究生生活,开始了。这三天都在看PSO(粒子群优化算法),中文论文看了两遍了,英文的是一遍没有看完,没办法,全英文实在看不懂。新的环境新的学习氛围,没有熟悉的人,突然感觉有点孤独啊。。。。。心情很郁闷(有点想家啊。。。呵呵)。论文看不下去了,就开始学习使用matlab对图像进行处理,突然发现图像处理还挺好玩的。未来一周打算:1。实习pso算法。2.熟悉使用m

2015-04-10 18:36:40 329

原创 各位大牛给点意见

本人目前大三,马上进行考研了,本专业是计算机科学与技术专业,老师推荐

2014-07-16 15:32:20 458

原创 离散帮忙

编程写出1到6阶群的运算表,并给出所有的子群,正规子群,同时输出对应的陪集(左 ,右)以及商群和运算表。

2013-05-08 11:09:11 606

原创 开学的第一天

2013年2月27日星期三,这是进入大二下学期的第一天,今天的第一节课是大学英语四,英语由以前的男老师换成了现在的女老师,即使换成女老师,对英语的兴趣也不会增长很多,但是了解到英语对我们计算机专业的人重要性,不得不去想办法提高自己的英语水平。两节英语课过的很快,接下来是离散数学,令我感到迷惑的是为什么一门专业课要由两个老师教,听了第一个老师一节课,感觉不怎么样,明显没有上学期教我们离散数学(上)的

2013-02-28 10:43:40 368

原创 本科大二学生迷茫中,求指导

我是在校的大二本科生,软件工程专业,由于学校的课程安排,只学习了c语言、离散数学、高数等,像数据结构、数据库等还没有学习。进入大学1年半了,但是感觉自己什么也不会,对自己的未来很迷茫,想学习点东西,但是不知道如何入手,该学习什么,希望各位前辈指导一下,谢谢!

2013-02-26 10:58:14 618 1

W3CSchool.zip

htmlhelp文档,以及最新的w3schol文档,对新手很有帮助哦

2015-01-16

数值分析第四版中文

数值分析第四版,中文版,对熟悉数值分析非常有帮助

2013-11-04

背包问题九将

背包问题九讲,对ACM很有帮助,该文档包含了9类背包问题

2013-11-04

2013高教社杯全国大学生数学建模竞赛参考答案

2013高教社杯全国大学生数学建模竞赛A题B题,组委会给出的答案

2013-10-01

空空如也

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

TA关注的人

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