自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(47)
  • 收藏
  • 关注

原创 我又回来啦!

懒了两年,觉得还是需要学习记录和交流。 从竞赛到前端,到现在产品,希望我能在自己喜欢的事情上做到极致,不断成长,回来就立个flag吧:争取每月都能有文章产出~~~ 不负韶华不负卿。...

2019-04-27 16:17:00 151

转载 2019中国智能办公趋势洞察报告

2019-01-18 17:29:37 668

原创 ckeditor初尝试

首先下载ckeditor标准版  CKeditor下载下载好ckeditor文件,文件要引入 ,必须是所有文件。html模块 Initial value. CKEDITOR.replace( 'editor' );

2017-02-24 16:52:31 414

原创 Timepicker 插件的使用

一个简单好用的JQ时间插件。首先需要下载Timepicker 插件:Timepicker下载需要引用JQ和相关的库 美化插件 .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; } .ui-timepicker-div dl { text-align: left; } .ui-ti

2017-02-24 13:04:01 1260 1

原创 Bootstrap-Table 初尝试

Cells: Rows: Build <table id="table" data-toggle="table" data-url="data/data1.json" data-show-columns="true" data-search="true"

2017-02-23 21:42:03 369

原创 session存储

function infoJumpTo(){if(typeof(Storage)!=="undefined"){if (sessionStorage.count){sessionStorage.count=Number(sessionStorage.count)+1; //登录window.location.href='https://www.baidu.com/';

2017-01-12 14:10:26 310

转载 HTML5获取地理位置及百度地图展示实例

原文地址 这两天在看在移动端通过浏览器获取地理位置的相关方法,顺便深入了解一下百度地图API的相关功能。测试实例包含了以下功能:(1)通过IP地址获取城市地址(并不完全准确,存在代理IP或IP中转时定位与实际位置不一致的情况)(2)通过移动端浏览器及GPS定位位置坐标(3)根据位置坐标转换百度地图坐标(4)根据位置坐标逆推城市具体地址功能(存在一定误差)(5)通过使用百

2017-01-09 13:29:27 1535

转载 console的用法

原文转自http://www.cnblogs.com/ctriphire/p/4116207.html大家都有用过各种类型的浏览器,每种浏览器都有自己的特色,本人拙见,在我用过的浏览器当中,我是最喜欢Chrome的,因为它对于调试脚本及前端设计调试都有它比其它浏览器有过之而无不及的地方。可能大家对console.log会有一定的了解,心里难免会想调试的时候用alert不就行了,

2017-01-05 10:42:19 714

转载 jquery attr()方法

原文在JS中设置节点的属性与属性值用到setAttribute(),获得节点的属性与属性值用到getAttribute(),而在jquery中,用一个attr()就可以全部搞定了,赞一个先 ^^jquery中用attr()方法来获取和设置元素属性,attr是attribute(属性)的缩写,在jQuery DOM操作中会经常用到attr(),attr()有4个表达式。

2017-01-04 21:23:31 265

转载 JSON.parse()和JSON.stringify()

原文在这里parse用于从一个字符串中解析出json对象,如var str = '{"name":"huangxiaojian","age":"23"}'结果:JSON.parse(str)Objectage: "23"name: "huangxiaojian"__proto__: Object注意:单引号写在{}外,每个属性

2016-11-07 19:49:37 276

转载 Bootstrap

原文点这里Bootstrap 一、使用Bootstrap要引用的文件  要使用Bootstrap,基本架构要引用如下文件: link href="bootstrap.min.css" rel="stylesheet" type="text/css" /> script type="text/javascript" scr="jquery-1.10.2.

2016-09-04 20:53:40 383

转载 1,css有几种引入方式

原文链接使用HTML标签的STYLE属性将STYLE属性直接加在单个的HTML元素标签上,控制HTML标签的表现样式。这种引入CSS的方式是分散灵活方便,但缺乏整体性和规划性,不利于后期的修改和维护,当需要修改网站的样式时,一个相同的修改可能涉及多个地方,维护成本高。使用STYLE属性的样式效果最强,会覆盖掉其它几种引入方式的相同样式效果。1 div s

2016-07-20 15:54:07 1049

原创 校赛 凑硬币

http://acm.swust.edu.cn/problem/1212/ 西南科技大学第十二届ACM/ICPC程序设计竞赛获奖名单与题解公布,详情请查看OJ新闻 凑硬币(1212)Time limit(ms): 1000Memory limit(kb): 65535Submission: 12Accepted: 3D

2016-06-07 21:13:15 470

原创 Codeforces677B

http://codeforces.com/contest/677/problem/BB. Vanya and Food Processortime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard out

2016-06-03 13:04:34 742

原创 计蒜客 身高接近

Matrix67发现身高接近的人似乎更合得来。Matrix67举办的派对共有N(1输入格式:第一行输入两个用空格隔开的数N和K,其中1输出格式:输出符合要求的安排总数样例输入4 10216610样例输出2题解:数据比较小,第一次写dfs回溯。类似于全排列,不过是环形,所以固定一个点为起始点,搜索回溯其他满足条件

2016-05-30 17:31:54 1080

转载 【数据结构与算法】自己动手实现图的BFS和DFS(附完整源码)

原文网址图的存储结构    本文的重点在于图的深度优先搜索(DFS)和广度优先搜索(BFS),因此不再对图的基本概念做过多的介绍,但是要先大致了解下图的几种常见的存储结构。    邻接矩阵    邻接矩阵既可以用来存储无向图,也可以用来存储有向图。该结构实际上就是用一个二维数组(邻接矩阵)来存储顶点的信息和顶点之间的关系(有向图的弧或无向图的边)。其

2016-03-17 11:31:41 758

原创 8VC Venture Cup 2016 - Final Round (Div. 2 Edition)

芝麻开门A. Orchestratime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPaul is at the orchestra. The string

2016-03-11 15:40:31 525

原创 第一个java程序

小小纪念一下下~~~输入10个数,输出最大的数和最小的数。package cn.swust.edu;import java.applet.*;import java.io.*;import java.util.*;public class MyMain { public static void main(String[] args) { // TODO Auto-gene

2016-03-10 19:09:21 292

原创 区间DP

区间dp一、题目链接BracketsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4946 Accepted: 2652DescriptionWe give the following inductive de

2016-02-26 15:07:54 357

原创 状压DP

题目:链接炮兵阵地Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 22877 Accepted: 8849Description司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用

2016-02-26 15:04:29 380

转载 C++ map的基本操作和使用

原文链接:http://blog.sina.com.cn/s/blog_61533c9b0100fa7w.htmlMap是c++的一个标准容器,她提供了很好一对一的关系,在一些程序中建立一个map可以起到事半功倍的效果,总结了一些map基本简单实用的操作!1. map最基本的构造函数;   mapmapstring;         mapmapint;   map

2016-02-24 11:31:33 233

原创 线段树系列(数据结构)

线段树系列

2016-01-26 14:33:55 366

原创 Codeforces Round #340 (Div. 2)

A. Elephanttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn elephant decided to visit his friend. It turn

2016-01-24 15:05:23 305

原创 BestCoder Baby Ming and Weight lifting 枚举

Baby Ming and Weight lifting  Accepts: 86  Submissions: 1474 Time Limit: 2000/1000 MS (Java/Others)  Memory Limit: 65536/65536 K (Java/Others)问题描述铭宝宝喜欢举重运动,他有一个杠铃杆(重量忽略),和2

2016-01-23 21:24:05 365

原创 CodeForce 616A Comparing Two Long Integers 字符串比较

A. Comparing Two Long Integerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two very long

2016-01-23 11:13:04 508

原创 CodeForce 614B Gena's Code 巧用字符串

B. Gena's Codetime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's the year 4527 and the tanks game that

2016-01-23 10:46:08 578

原创 Codeforce 614A Link/Cut Tree 水题

A. Link/Cut Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProgrammer Rostislav got seriously interes

2016-01-23 10:38:27 548

原创 Making Sequences is Fun(简单枚举)

http://codeforces.com/problemset/problem/373/BB. Making Sequences is Funtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputo

2015-12-17 19:30:11 390

原创 简单矩阵 数据个数的计数

DescriptionCucumber boy is fan of Kyubeat, a famous music game.Kyubeat has 16 panels for playing arranged in 4 × 4 table. When a panel lights up, he has to press that panel.Each panel has a ti

2015-12-14 21:27:31 564

原创 I NEED A OFFER! 动态规划 01 背包

http://acm.hdu.edu.cn/showproblem.php?pid=1203I NEED A OFFER!Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21532    Accepted Submiss

2015-12-14 21:23:51 459

原创 18岁生日

http://acm.hdu.edu.cn/showproblem.php?pid=120118岁生日Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25146    Accepted Submission(s): 80

2015-12-10 16:52:11 327

原创 开门人和关门人(基础字符串)

http://acm.hdu.edu.cn/showproblem.php?pid=1234开门人和关门人Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13478    Accepted Submission(s):

2015-12-10 16:35:43 448

原创 qj的招待会

http://acdream.info/problem?pid=1209qj的招待会Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem Description终于,qj不

2015-12-10 14:40:16 301

原创 圆有点挤

http://acdream.info/problem?pid=1098圆有点挤Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)Submit Statistic Next ProblemProblem Descriptiongg最近想给女友

2015-12-10 14:37:48 373

原创 PM3(矩阵相乘 行和的简便运算)

http://poj.org/problem?id=3213PM3Time Limit: 5000MS Memory Limit: 131072KTotal Submissions: 3146 Accepted: 1108DescriptionUSTC has recently developed th

2015-12-09 17:15:53 804

原创 Lawnmower

http://codeforces.com/problemset/problem/115/BB. Lawnmowertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandar

2015-12-09 17:04:53 424

原创 Palindrome subsequence(区间dp)

http://acm.hdu.edu.cn/showproblem.php?pid=4632Palindrome subsequenceTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65535 K (Java/Others)Total Submission(s): 2764    Accepted

2015-12-08 21:20:59 301

原创 入门基础之二分查找

入门基础之二分查找Time Limit:1000MS Memory Limit:65536KBTotal Submit:95 Accepted:28 Page View:196Submit Status DiscussDescription数组a[]有n个元素,元素值保证不降(即数组满足a1Input多组输入。每组第一排有两个数

2015-12-04 20:11:34 504

转载 二分问题

转自:勇幸|Thinking (http://www.ahathinking.com) 面试常让写二分查找或其扩展的程序,以前总觉得很简单,但是真动手写起来,细节很多,容易出错的地方也很多,真是秒杀眼高手低的利器,本节就二分查找以及相关扩展程序都实现一下,同时将可能出错的地方以及需要注意的细节也一并说明,水平有限,欢迎补充。内容如下:1)二分查找元素key的下标,如无 re

2015-12-03 21:13:34 363

转载 算法之LCA与RMQ问题

转自: http://dongxicheng.org/structure/lca-rmq/算法之LCA与RMQ问题Category: 数据结构与算法 View: 25,564 Author: Dong作者:Dong | 新浪微博:西成懂 | 可以转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明网址:http://dongxicheng.org/

2015-11-29 16:40:30 365

空空如也

空空如也

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

TA关注的人

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