Substring with Concatenation of All Words (H) 题目 You are given a string, s, and a list of words, words, that are all of the same length. Find all star ...
分类:
其他好文 时间:
2020-06-25 21:20:39
阅读次数:
56
Descpition There are n people and 40 types of hats labeled from 1 to 40. Given a list of list of integers hats, where hats[i] is a list of all hats pr ...
分类:
其他好文 时间:
2020-06-25 13:58:26
阅读次数:
56
题目: Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the film tickets. ...
分类:
其他好文 时间:
2020-06-24 19:34:23
阅读次数:
52
题目: 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹.怎么办呢?多搞几套系统呗 ...
分类:
其他好文 时间:
2020-06-24 19:31:54
阅读次数:
47
Substring with Concatenation of All Words (H) 题目 You are given a string, s, and a list of words, words, that are all of the same length. Find all star ...
分类:
其他好文 时间:
2020-06-24 12:04:23
阅读次数:
38
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: Kernel版本:4.14 ARM64处理器,Contex-A53,双核 使用工具:Source Insight 3. ...
分类:
系统相关 时间:
2020-06-24 00:18:13
阅读次数:
104
原题链接 KMP模板:AC,858ms,13112KB内存 消耗太大了 #include<bits/stdc++.h> using namespace std; using namespace std; #define ms(x, n) memset(x,n,sizeof(x)); typedef ...
分类:
其他好文 时间:
2020-06-23 20:53:37
阅读次数:
66
题目: 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人,所以他只能在小 ...
分类:
其他好文 时间:
2020-06-23 13:20:42
阅读次数:
35
http://acm.hdu.edu.cn/showproblem.php?pid=1007 题意:即给定坐标系上N个点,找到距离最短的两个点。 参考博客:https://www.cnblogs.com/zyxStar/p/4591897.html #include <iostream> #incl ...
分类:
其他好文 时间:
2020-06-21 23:35:11
阅读次数:
42
1.Integer Inquiry 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1047 解法:一道求大数之和,我们利用java里的BigInteger就可以轻松的解决,不过需要注意下格式的问题,每输出一个就要空一行,最后一个不用 代码: impor ...
分类:
其他好文 时间:
2020-06-21 18:09:00
阅读次数:
62