码迷,mamicode.com
首页 >  
搜索关键字:most    ( 3834个结果
Python2 和 Python3 字符串的区别
Python2 >>> >>> isinstance(b'abc', bytes) True >>> >>> isinstance(b'abc', str) True >>> >>> isinstance('abc', str) True >>> >>> isinstance('abc', byte ...
分类:编程语言   时间:2020-01-28 00:07:03    阅读次数:128
HGAME 2020 misc
week1 每日推荐 拿到Wireshark capture file后,按常规思路,用foremost命令拿到一个加密的压缩包,之后文件 导出对象 http,看到最大的一个文件里面最后提示密码是6位数字,修复了加密压缩包,爆破,暴不出来,菜就完了。 赛后看了大佬wp 1、用HxD打开最大的文件,注 ...
分类:其他好文   时间:2020-01-27 18:52:03    阅读次数:122
PAT Advanced 1019 General Palindromic Number (20分)
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number ...
分类:其他好文   时间:2020-01-27 13:55:18    阅读次数:58
G - Most Dangerous Shark dp 单调栈 单调队列
题意: 一条线段上有n张骨牌(n=1e7), 相邻骨牌距离为1,每张骨牌有其高度和推倒的花费,问最少的花费推倒所有的骨牌。 题解: 首先用单调栈维护每个位置往左(右)推能推倒的最远的骨牌 dp[i]表示1-i倒下的最小花费 转移显然只有两种 一种是第i张往左推动 另一种是找到往右推动能推倒i的最小花 ...
分类:其他好文   时间:2020-01-26 16:02:35    阅读次数:75
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 1 #805
具体错误日志如下:The resulting error log is as followsTraceback (most recent call last): File "train.py", line 441, in train() # train normally File "train.py... ...
分类:其他好文   时间:2020-01-25 10:19:41    阅读次数:313
Understanding Why Sometime an Array Can Excel a Map
Introduction We have discussed in a previous article, in most common situation if we have to maintain two Arrays working consistantly, we should bette ...
分类:其他好文   时间:2020-01-24 13:16:42    阅读次数:79
513. Find Bottom Left Tree Value
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 ...
分类:其他好文   时间:2020-01-23 11:15:55    阅读次数:75
508. Most Frequent Subtree Sum
Given the root of a tree, you are asked to find the most frequent subtree sum. The subtree sum of a node is defined as the sum of all the node values ...
分类:其他好文   时间:2020-01-23 09:17:11    阅读次数:93
1325. Delete Leaves With a Given Value
Given a binary tree root and an integer target, delete all the leaf nodes with value target. Note that once you delete a leaf node with value target,  ...
分类:其他好文   时间:2020-01-22 11:06:54    阅读次数:64
1323. Maximum 69 Number
Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 9, and ...
分类:其他好文   时间:2020-01-22 10:56:58    阅读次数:75
3834条   上一页 1 ... 24 25 26 27 28 ... 384 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!