8 星天93

尚未进行身份认证

很多烦恼是我们凭空虚构的,而我们却把它当做真实去承受。

等级
TA的排名 5k+

人机对战五子棋(c# + 微信小程序)

源码连接: github-五子棋游戏视图:

2020-01-12 18:12:55

经典打砖块游戏(java + 微信小程序)

游戏总共6个关卡+12种道具,代码总行数1000行左右,关卡可随意配置源码连接: github-打砖块游戏视图:

2020-01-12 17:41:27

c++封装常用函数(split)

vector<string> split(string src, string sep) { string src_tmp = src, sep_tmp = sep; char *_src = (char *)src_tmp.c_str(), *_sep = (char *)sep_tmp.c_str(), *pNext; vector<string> r...

2019-11-27 20:06:47

vue树形组件

vue-treevue 编写的树形菜单,小巧实用,支持vue1.0,vue2.0v1.0 功能:1.支持多级树目录2.支持高亮点击的节点3.支持展开点击节点4.支持点击收缩节点时收缩所有子目录5.支持自定义回调函数,点击节点时回调,参数为节点信息用法:<launch-tree :list='list' :options='options'></launch-tree>list = [

2017-01-09 22:06:12

vue日期组件,支持vue1.0和2.0

vue-datetime使用vue编写的时间组件,小巧实用,支持vue1.0,vue2.0v1.0 功能:1.支持同时展开多个日期选择框2.支持单击选中和取消,可配置单选和多选3.支持双击启动连续选择,支持正向连续,逆向连续和跳跃不可选日期4.支持在日期选择框内直接切换月份5.支持初始化不可点击日期(剩余的可选择)6.支持初始化已选择日期(已选择日期高亮)7.支持初始化可选择日期(剩余

2017-01-09 15:08:38

基数排序

#include <iostream>#include <cstdio>#include <cstdlib>#include <string>#include <queue>#include <algorithm>#include <map>#include <iomanip>#define INF 999999999using namespace std;const int MA

2016-12-02 16:26:17

计数排序

计数排序 主要是将值作为下标,然后计算有多少小于该值的数,然后再把相应的值放入到相应的位置,如果有相同的值则最先扫描到的放到可能的最后的位置。#include <iostream>#include <cstdio>#include <cstdlib>#include <string>#include <queue>#include <algorithm>#include <map>

2016-12-01 17:40:09

快速排序详解

图解过程 对于数组s = [2, 1, 3, 0, 4, 5, 8, 7, 1]进行排序 将s[0]取出作为比较值val,则s[0]位置空出 第一步,从数组右边扫描,查询第一个比val小的, 如图1查询到s[8] 将s[8]放入上一步的空格中,则s[8]空出来,如图2 第二步,从数组左边扫描,查询第一个比val大的,如图2查询到s[2] 将s[2]放入上一步的空格

2016-12-01 14:59:08

堆排序详解

堆排序详解选择排序变形之堆排序

2016-12-01 12:42:53

hdu3669之二维斜率DP

Cross the WallTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 327680/327680 K (Java/Others)Total Submission(s): 4176    Accepted Submission(s): 748Problem Description“Across th

2014-06-12 15:10:12

hdu3480之二维斜率优化DP

DivisionTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 999999/400000 K (Java/Others)Total Submission(s): 2664    Accepted Submission(s): 1050Problem DescriptionLittle D is re

2014-06-11 18:55:23

hdu2993之斜率dp+二分查找

MAX Average ProblemTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5825    Accepted Submission(s): 1446Problem DescriptionConsid

2014-06-09 22:32:41

hdu3045之斜率DP

Picnic CowsTime Limit: 8000/4000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1563    Accepted Submission(s): 478Problem DescriptionIt’s summer voc

2014-06-09 17:36:32

hdu2829之二维斜率优化DP

T. E. Lawrence was a controversial figure during World War I. He was a British officer who served in the Arabian theater and led a group of Arab nationals in guerilla strikes against the Ottoman Empir

2014-05-16 21:07:20

hdu4430之枚举+二分

Yukari's BirthdayTime Limit: 12000/6000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2549    Accepted Submission(s): 522Problem DescriptionToday is

2014-05-15 22:15:54

hdu3507之斜率优化DP入门

Print ArticleTime Limit: 9000/3000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 4780    Accepted Submission(s): 1437Problem DescriptionZero has an

2014-05-15 20:03:04

hdu4455之树状数组+DP

SubstringsTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1571    Accepted Submission(s): 459Problem DescriptionXXX has an arra

2014-05-14 21:29:37

hdu4460之BFS

Friend ChainsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2882    Accepted Submission(s): 970Problem DescriptionFor a group o

2014-05-13 19:15:39

ZOJ3329之经典概率DP

One Person GameTime Limit: 1 Second      Memory Limit: 32768 KB      Special JudgeThere is a very simple and interesting one-person game. You have 3 dice, namely Die1, Die2 and Die3. Die1 ha

2014-05-12 17:25:58

poj2151之概率DP

Check the difficulty of problemsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 4403 Accepted: 1941DescriptionOrganizing a programming contest is not

2014-05-11 17:30:04

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。