2019-12-15 15:25:34 #include <bits/stdc++.h> #include<math.h> using namespace std; const int MAXN = 100005; int main(){ int N; cin>>N; int temp[N+1]; ...
分类:
其他好文 时间:
2019-12-15 16:06:03
阅读次数:
88
// 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 i ...
分类:
其他好文 时间:
2019-12-15 14:49:24
阅读次数:
92
vue resource moment preview 缩略图使用实例 图片懒加载(muit提供) ...
分类:
其他好文 时间:
2019-12-15 12:24:22
阅读次数:
100
一、项目目录如下: 二、向model组封装一个模态框:Modal.vue <template> <div> <!-- 定义全局模态框 --> <div class="md-modal modal-msg md-modal-transition md-show" v-bind:class="{'md- ...
分类:
其他好文 时间:
2019-12-15 01:06:09
阅读次数:
107
疯狂创客圈 Java 高并发【 亿级流量聊天室实战】实战系列 【 "博客园总入口" 】 架构师成长+面试必备之 高并发基础书籍 【 "Netty Zookeeper Redis 高并发实战" 】 疯狂创客圈 高并发 环境 视频,陆续上线: Windows Redis 安装(带视频) Linux Re ...
分类:
编程语言 时间:
2019-12-14 13:34:35
阅读次数:
113
本系列文章主要介绍如何在现代前端生态下,创建一个工业级别的库。近几年来,前端工程化、模块化、组件化的大潮铺天盖地而来,在解决以往的架构痛点之余,却又产生了信息过载的问题;我希望通过分享自己的经验,帮助大家少踩坑多出活。 ...
分类:
其他好文 时间:
2019-12-14 11:37:03
阅读次数:
69
一、thymeleaf模板 1、在pom.xml中导入依赖 <!-- 添加thymeleaf模版的依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thyme ...
分类:
编程语言 时间:
2019-12-14 09:54:21
阅读次数:
62
part1 ABCDEFG part2 // 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, ...
分类:
编程语言 时间:
2019-12-13 19:51:38
阅读次数:
105
小 I 选宾馆 Time Limit: 1000 ms Memory Limit: 65536 KiB Problem Description 小 I 去天津玩啦,一路上,他跟他的同学发生了许多有趣的事。 到了晚上了,小 I 跟他的同学们要选一个宾馆住下了。但是形形色色的宾馆让小 I 不知所措。 对 ...
分类:
其他好文 时间:
2019-12-13 13:59:29
阅读次数:
179
Spring是轻代码而重配置的框架,配置比较繁重,影响开发效率,所以注解开发是一种趋势,注解代替核心配置文件中的依赖注入可以达到简化配置的效果,提高开发效率。 几个常用的原始注解: 创建对象的注解: 注解说明 @Component 使用在类上,用于实例化Bean @Controller 使用在web ...
分类:
编程语言 时间:
2019-12-13 00:24:08
阅读次数:
114