码迷,mamicode.com
首页 >  
搜索关键字:two pointer    ( 13796个结果
231. Power of Two
Problem : Given an integer, write a function to determine if it is a power of two. Example 1: Example 2: Example 3: `` Input: 218 Output: false c bool ...
分类:其他好文   时间:2020-04-06 00:03:04    阅读次数:83
[省赛训练(DP)]Course Selection System
题面: There are n courses in the course selection system of Marjar University. The i-th course is described by two values: happiness Hi and credit Ci. I ...
分类:其他好文   时间:2020-04-05 22:35:03    阅读次数:93
[LeetCode] 424. Longest Repeating Character Replacement
替换后的最长重复字符。题意是给一个字符串,只有大写字母,允许你替换其中的K个字母,问替换操作完成后能返回的最长字母相同的子串的长度是多少。例子, Example 1: Input: s = "ABAB", k = 2 Output: 4 Explanation: Replace the two 'A ...
分类:其他好文   时间:2020-04-04 09:41:15    阅读次数:68
python 批量创建文件夹
import os, sysdef genDir(): base = 'E:/py doc/data/' i = 0 name=['ZERO','ONE','TWO','THREE','FOUR','FIVE','SIX','SEVEN','EIGHT','NINE'] for j in range ...
分类:编程语言   时间:2020-04-04 09:23:26    阅读次数:108
ThunderNet :像闪电一样,旷视再出超轻量级检测器,高达267fps | ICCV 2019
论文提出了实时的超轻量级two stage detector ThunderNet,靠着精心设计的主干网络以及提高特征表达能力的CEM和SAM模块,使用很少的计算量就能超越目前的one stage detectors,在ARM平台也达到了实时性,GPU的速度更是达到267fps 来源:【晓飞的算法工 ...
分类:Web程序   时间:2020-04-03 13:55:05    阅读次数:221
ThunderNet: Towards Real-time Generic Object Detection
Related Work CNN-based object detectors:CNN-based object detectors are commonly classified into two-stage detectors and one-stage detectors. In two-st ...
分类:Web程序   时间:2020-04-03 11:43:43    阅读次数:87
POJ3349 Snowflake Snow Snowflakes(Hash)
You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read ...
分类:其他好文   时间:2020-04-03 00:53:51    阅读次数:78
如何用css样式修改select下拉箭头默认样式
select { /* 鼠标移上,变小手 */ cursor: pointer; padding: 0 10px; /* 清除默认的箭头样式 */ appearance: none; -moz-appearance: none; -webkit-appearance: none; /* 右侧添加箭头 ...
分类:Web程序   时间:2020-04-02 15:59:40    阅读次数:85
350. Intersection of Two Arrays II
Problem : Given two arrays, write a function to compute their intersection. Example 1: Example 2: Note: Each element in the result must be unique. The ...
分类:其他好文   时间:2020-04-02 01:22:47    阅读次数:64
有效括号的嵌套深度
/*示例 1:输入:seq = "(()())"输出:[0,1,1,1,1,0]示例 2:输入:seq = "()(())()"输出:[0,0,0,1,1,0,1,1]链接:https://leetcode-cn.com/problems/maximum-nesting-depth-of-two-v ...
分类:其他好文   时间:2020-04-01 16:18:36    阅读次数:53
13796条   上一页 1 ... 44 45 46 47 48 ... 1380 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!