自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 万兴往事-目录

当时年少复兴科技多品牌转载于:https://www.cnblogs.com/crwy/p/11466650.html

2019-09-05 16:01:00 89

转载 万兴往事-题记

题记叹浮沉如梦水东流人间所事堪惆怅莫向横塘问旧游……声明:本系列为个人回忆录,为个人主观回忆与认知。我尽力以客观角度描述,涉及失实之处,请通知于本人修正。致敬:那些曾为万兴过去、现在和未来而奉献青春与汗水的人。终于写下这第一行字。万兴往事,我青春的回忆录,由此开始。暮春始归,至此时中秋,已近半年。期间外出学习,照料病人,接送孩子,代妻上...

2019-09-05 16:00:00 225

转载 PAT 甲级 1047 Student List for Course (25 分)(cout超时,string scanf printf注意点,字符串哈希反哈希)...

1047Student List for Course(25分)Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to...

2019-09-05 15:00:00 51

转载 Python基础Hello World

Python的优缺点1、python明确、简单、易懂 个人认为是初学者的最好的选择,曾经自己看过端时间的java,可以很明的说,python比java简单很多2、开发效率非常高,Python有非常强大的第三方库,基本上你想通过计算机实现任何功能,Python官方库里都有相应的模块进行支持,直接下载调用后,在基础库的基础上再进行开发,大大降低开发周期。3、高级语言,当你用Pyt...

2019-09-04 21:58:00 75

转载 PAT 甲级 1046 Shortest Distance (20 分)(前缀和,想了一会儿)

1046Shortest Distance(20分)The task is really simple: givenNexits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair o...

2019-09-03 23:46:00 41

转载 用Dev C++编写第一个C语言程序

  不少新同学表示对计算机类专业有些担忧,那么可以趁军训期间提前玩玩。  学校一般使用VS2008进行编程,VS2008功能强大,内容丰富,体积也比较大。如果只关注C语言编程的话,有一个非常轻便的软件Dev C++ 。下载链接 https://sourceforge.net/projects/orwelldevcpp/ 或者我的百度网盘分享:链接:https://pa...

2019-09-03 17:37:00 434

转载 DLL转存为IL文件及修改后重新生成DLL文件

DLL反编译工具有:dotPeek (jetbrains) 、ILSpyDLL转存IL使用:ildasm打开DLL文件,选择file->dump。il 、res重新生成DLL工具: ilasm (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\)命令行: ilasm.exe/dll/resource=xxx.res...

2019-09-03 17:15:00 984

转载 PAT 甲级 1045 Favorite Color Stripe (30 分)(思维dp,最长有序子序列)

1045Favorite Color Stripe(30分)Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting...

2019-09-03 13:28:00 43

转载 PAT 甲级 1043 Is It a Binary Search Tree (25 分)(链表建树前序后序遍历)*不会用链表建树 *看不懂题...

1043Is It a Binary Search Tree(25分)A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node conta...

2019-09-02 15:25:00 38

转载 PAT 甲级 1044 Shopping in Mars (25 分)(滑动窗口,尺取法,也可二分)

1044Shopping in Mars(25分)Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When makin...

2019-09-02 14:30:00 169

转载 适用于填空题出题 的随机算法 PHP

<?php #寻找一个满足给定空数和题数要求的随机方案,事先需统计出每题空格数情况队列$m_blk,以及这些题分别有多少个$m_que。 #以下算法将找到一个随机方案,若未找到将返回假值,如果不限题数,请将题数置为不大于0的数。 $m_v = array(); //目标随机方案 $m_blk =...

2019-09-02 14:05:00 541

转载 015 vue的项目

一:搭建项目1.框架  在原有的基础上    src:  2.index.html<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="wi...

2019-09-01 22:00:00 57

转载 014 Mui

一:概述1.说明  是开发出来的一套好用的代码片段  任何项目都可以使用MUI  官网:https://dev.dcloud.net.cn/mui/  不能使用npm进行下载,需要手动从git上下载2.下载之后的包结构  3.在项目src下新建一个lib  这个文件夹用于手动下载的包  4.拷贝dist  将mu...

2019-09-01 20:53:00 50

转载 在一个树型结构数据中,查找相邻有相同属性的节点的最大数量的方法

本文介绍的是一个在一个树型数据结构中,查找 type 属性均为 a 的相邻节点的最长链路的节点数量,如果中间有任何其他节点插在其中,那这个长度就结束了,必须是相邻的。一个最简单的示例就是在一个树型结构中,有两个节点要进行连接,但是连接的节点如果都是 type 为 a 的话,则最长不能超过5个,超过五个则节点不能进行连接。如下图:  在进行节点之间的连接时,如过相邻...

2019-09-01 18:04:00 493

转载 013 mint-ui

一:概述1.中文文档  https://mint-ui.github.io/#!/en2.安装包  二:mt-button的使用  主要是介绍css-component1.程序  在App.vue下面写<template> <div> <h1>这是 App 组件</h1&g...

2019-09-01 00:35:00 59

转载 012 webpack中的router

一:准备工作1.App.vue<template> <div> <h1>这是 App 组件</h1> </div></template><script></script><style></style>...

2019-08-31 23:47:00 271

转载 011 webpack中使用vue

一:在webpack中使用vue1.安装vue的包  2.index.html<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=d...

2019-08-31 18:45:00 48

转载 010 vue使用render方法渲染组件

1.普通的组件渲染方式<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> &lt...

2019-08-31 17:49:00 63

转载 009 webpack将ES高级语法进行装换

一:ES高级转换1.main.js中的js不能解析// js的主要入口import $ from 'jquery'import './css/index.css'import './css/index.less'import 'bootstrap/dist/css/bootstrap.css'$(function(){ $('li...

2019-08-31 17:18:00 126

转载 PAT 甲级 1042 Shuffling Machine (20 分)(简单题)

1042Shuffling Machine(20分)Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "...

2019-08-31 12:48:00 47

转载 PAT 甲级 1041 Be Unique (20 分)(简单,一遍过)

1041Be Unique(20分)Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numb...

2019-08-31 11:15:00 52

转载 PAT 甲级 1040 Longest Symmetric String (25 分)(字符串最长对称字串,遍历)

1040Longest Symmetric String(25分)Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, givenIs PAT&TAP symmetric?, the...

2019-08-31 09:36:00 72

转载 PAT 甲级 1039 Course List for Student (25 分)(字符串哈希,优先队列,没想到是哈希)*...

1039Course List for Student(25分)Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to ou...

2019-08-30 17:38:00 53

转载 003 okhttp超时与缓存

  上文的介绍都没添加,如果要添加,则按照下面的方式设置。File sdcache = getExternalCacheDir();int cacheSize = 10 * 1024 * 1024;OkHttpClient.Builder builder = new OkHttpClient.Builder() .connectTimeout(15, T...

2019-08-30 17:04:00 54

转载 002 下载文件

  同样的是两个项目1.下载文件  图片:  2.异步下载程序package com.jun.web.okhttp;import okhttp3.*;import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import ja...

2019-08-30 16:57:00 79

转载 001 okhttp3的POST使用

  继续使用上面的项目1.被调用的项目package com.jun.web2forokhttp.okhttp;import com.jun.web2forokhttp.bean.HttpDomain;import org.springframework.web.bind.annotation.*;import java.util.HashMap;im...

2019-08-30 14:18:00 261

转载 000 okhttp3的Get使用

一:概述1.说明  java与android都可以使用。  是网络请求的开源框架。  square公司开发,用于替代HttpUrlConnection和Apache HttpClient2.优点支持HTTP2/SPDY(SPDY是Google开发的基于TCP的传输层协议,用以最小化网络延迟,提升网络速度,优化用户的网络使用体验。)socket自动选...

2019-08-30 10:42:00 138

转载 000 list与map的foreach使用

一:list的使用1.程序package com.jun.it.java8;import java.util.ArrayList;import java.util.List;public class Foreach8 { public static void main(String[] args) { foreachList()...

2019-08-29 18:39:00 73

转载 PAT 甲级 1038 Recover the Smallest Number (30 分)(思维题,贪心)

1038Recover the Smallest Number(30分)Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 022...

2019-08-29 16:59:00 65

转载 PAT 甲级 1037 Magic Coupon (25 分) (较简单,贪心)

1037Magic Coupon(25分)The magic shop in Mars is offering some magic coupons. Each coupon has an integerNprinted on it, meaning that when you use this coupon with a product,...

2019-08-29 16:16:00 83

转载 008 webpack的其他使用方式

一:配置1.配置文件  每次修改main文件,重新打包都要指定入口与出口,比较费事,可以使用配置文件的方式  在根目录下新建webpack.config.js:const path = require('path')module.exports = { entry:path.join(__dirname,'./src/main.js'), ...

2019-08-28 00:01:00 49

转载 PAT 甲级 1036 Boys vs Girls (25 分)(简单题)

1036Boys vs Girls(25分)This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.Inp...

2019-08-27 20:42:00 51

转载 PAT 甲级 1035 Password (20 分)(简单题)

1035Password(20分)To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since ...

2019-08-27 19:57:00 68

转载 PAT 甲级 1034 Head of a Gang (30 分)(bfs,map,强连通)

1034Head of a Gang(30分)One way that the police finds the head of a gang is to check people's phone calls. If there is a phone call betweenAandB, we say thatAandBis re...

2019-08-27 16:48:00 73

转载 007 webpack基本的用法

1.安装node.js  因为webpack是基于node.js的  2.新建目录    3.需求  列表的隔行变色4.初始化  在终端中使用npm init命令可以自动创建这个package.json文件  npm init -y  5.安装jquery  6.安装webpack  cnpm inst...

2019-08-26 23:37:00 61

转载 PAT 甲级 1033 To Fill or Not to Fill (25 分)(贪心,误以为动态规划,忽视了油量问题)*...

1033To Fill or Not to Fill(25分)With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have...

2019-08-26 19:41:00 76

转载 014 ThreadLocal详解

一:ThreadLocal的原理1.说明  ThreadLocal从字面意思来理解,是一个线程本地变量,也可以叫线程本地变量存储。有时候一个对象的变量会被多个线程所访问,这个时候就会有线程安全问题,当然可以使用synchronized关键字来为该变量加锁,进行同步处理来限制只能有一个线程来使用该变量,但是这样会影响程序执行的效率,这时ThreadLocal就派上了用场;  使用T...

2019-08-26 14:50:00 43

转载 006 vue监控

一:监视1.使用keyup<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> ...

2019-08-25 23:32:00 48

转载 005 vue路由

一:元素的获取1.ref元素获取  可以通过ref获取DOm,也可以获取组件的引用<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-wi...

2019-08-25 18:36:00 43

转载 微信JSAPI支付(一)统一下单

开发准备参考文档 JSAPI支付开发文档支付方式目前微信主流的支付方式有以下6种方式说明付款码支付付款码支付是用户展示微信钱包内的“刷卡条码/二维码”给商户系统扫描后直接完成支付的模式。主要应用线下面对面收银的场景。Native支付Native支付是商户系统按微信支付协议生成支付二维码,用户再用微信“扫一扫”完成支付的模式。该模式适用于PC网站支付、实体店单...

2019-08-25 14:24:04 1137

空空如也

空空如也

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

TA关注的人

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