码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
HZAU 1205 Sequence Number(双指针)
题目链接:http://acm.hzau.edu.cn/problem.php?id=1205 【题意】给你一串数,要求你找到两个数a[i],a[j],使得a[i]<=a[j]且j>=i且j-i最大。 【分析】预处理1~i的最小值,然后从右往左双指针,维护右端点>左端点,如果右端点<1~L的最小值, ...
分类:其他好文   时间:2017-04-24 00:06:36    阅读次数:191
【置顶】Currency
#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #de... ...
分类:其他好文   时间:2017-04-24 00:05:30    阅读次数:158
《linux 内核分析》总结
王一+《Linux内核分析》MOOC课程http://mooc.study.163.com/course/USTC-100002900 一、linux 系统的理解和学习心得 操作系统作为一个运行任务和程序的平台,几乎所有的独立运行的计算平台上都有,小到一个51的最小系统,可以模拟简单的操作系统,大到 ...
分类:系统相关   时间:2017-04-24 00:04:06    阅读次数:185
ubuntu16.04搭建opencv3环境
为了搭建opencv3,看了各种教程,装了卸,卸了装,多次失败后,在几篇文档的借鉴下,终于是成功搭建了环境。 首先,更新ubuntu上的一些库: sudo apt-get update sudo apt-get upgrade 其次,需要安装一些搭建opencv3的库(要在opencv3搭建前安装好 ...
分类:系统相关   时间:2017-04-24 00:01:39    阅读次数:342
消息码和消息描述字符串关联的一种实现
若定义JMESSAGE(code,string)code ,宏,就表示enum list of message codes. 若定义JMESSAGE(code,string)string ,宏,就可表示a message string table. <jerror.h> 那么,在.c文件中怎样使用m ...
分类:其他好文   时间:2017-04-23 23:10:05    阅读次数:338
Leetcode——————Group Anagrams
这道题对我来说比较难: 1.首先题目要求输出的结果,应该用什么形式的数据结构来存储呢 2.涉及到map,collection,sort( )等函数,或者其他的一堆东西,几乎一无所知。 copy大神代码如下: public class Solution { //返回值是以链表作为节点的链表。 publ ...
分类:其他好文   时间:2017-04-23 22:33:16    阅读次数:183
ECMAScript 6 入门之新的数据类型Symbol
1、Symbol,一个每次创建都不一样的值 2、防止重写上游的值 ...
分类:其他好文   时间:2017-04-23 22:28:09    阅读次数:196
Entity Framework Code First实体关联数据加载
小分享:我有几张阿里云优惠券,用券购买或者升级阿里云相应产品最多可以优惠五折!领券地址:https://promotion.aliyun.com/ntms/act/ambassador/sharetouser.html?userCode=ohmepe03 在项目过程中,两个实体数据之间在往往并非完全 ...
分类:其他好文   时间:2017-04-23 22:27:17    阅读次数:199
【译著】Code First :使用Entity. Framework编程(6)
小分享:我有几张阿里云优惠券,用券购买或者升级阿里云相应产品最多可以优惠五折!领券地址:https://promotion.aliyun.com/ntms/act/ambassador/sharetouser.html?userCode=ohmepe03 Chapter6 Controlling D ...
分类:其他好文   时间:2017-04-23 22:26:36    阅读次数:368
大组合数取余模板【Lucas定理】
求C(n, m) % mod 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 #include <bits/stdc++.h> ...
分类:其他好文   时间:2017-04-23 22:20:20    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!