GROUP BY 和 ORDER BY一起使用 转:http://lzfhope.blog.163.com/blog/static/636399220092554045196/ 环境:oracle 10g单单group by 或者order by本身没有特别好写的,因为这二者都是及其常用的sql句子 ...
分类:
其他好文 时间:
2019-11-24 19:28:14
阅读次数:
86
规律题 前缀和+规律 先求前缀和。。。答案为c[i]=arr[i]+c[i-m]//i>m时。 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=2E5+7; ll arr[N]; ll c[N ...
分类:
其他好文 时间:
2019-11-23 21:58:38
阅读次数:
71
Work Together to Build the Silk Road Economic Belt and The 21st Century Maritime Silk Road 国家主席习 14日上午在北京出席“一带一路”国际合作高峰论坛开幕式并发表主旨演讲。 Speech by H.E. Xi ...
分类:
其他好文 时间:
2019-11-23 21:44:06
阅读次数:
68
本文主要是介绍了Linux文件系统的相关知识,对于想对应的常见故障进行检测和排障最为关键。这就需要我们对Linux系统中的常见日志文件熟悉掌握,及时解决各种问题。
分类:
系统相关 时间:
2019-11-18 22:15:30
阅读次数:
105
原题链接在这里:https://leetcode.com/problems/koko-eating-bananas/ 题目: Koko loves to eat bananas. There are N piles of bananas, the i-th pile has piles[i] ban ...
分类:
其他好文 时间:
2019-11-18 09:34:59
阅读次数:
98
"传送门" A. Single Push 直接乱搞即可。 Code B. Silly Mistake 贪心分组即可。 用一个$map$记录当前组一个人是否已经来过。 至于为什么用$map$,方便清零= = Code C. Sweets Eating 顺序没关系,排序后贪心分组即可。 公式推一推就行。 ...
分类:
其他好文 时间:
2019-11-18 00:02:04
阅读次数:
72
1、When strange or different elements come together, we will have fresh perspectives and divergent ways of thinking. 2、They inevitably give birth to in ...
分类:
其他好文 时间:
2019-11-16 12:49:22
阅读次数:
87
内容: Redis 编译安装 Redis Cluster部署 Redis 集群扩容 Redis 指定机器下线 环境: 主机名 IP node1 192.168.10.1 node2 192.168.10.2 node3 192.168.10.3 node4 192.168.10.4 node5 19 ...
分类:
其他好文 时间:
2019-11-15 14:27:19
阅读次数:
82
无重复字符的最长字串 leetcode地址:https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ 题目描述: 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例: 输入: ...
分类:
其他好文 时间:
2019-11-10 15:37:29
阅读次数:
76
步骤一:下载安装包,打开Mysql官网,找到对应的 下载路径如下:https://downloads.mysql.com/archives/community/ wget https://downloads.mysql.com/archives/get/file/mysql-5.7.27-linux ...
分类:
数据库 时间:
2019-11-09 23:41:44
阅读次数:
109