码迷,mamicode.com
首页 >  
搜索关键字:paths    ( 1380个结果
Hadoop----hdfs dfs常用命令的使用
-mkdir 创建目录 hdfs dfs -mkdir [-p] < paths> -ls 查看目录下内容,包括文件名,权限,所有者,大小和修改时间 hdfs dfs -ls [-R] < args> -put 将本地文件或目录上传到HDFS中的路径 hdfs dfs -put < localsrc ...
分类:其他好文   时间:2019-11-01 09:34:15    阅读次数:104
【性质分析+数位DP】CF750G New Year and Binary Tree Paths
规律找完,不会DP,光荣爆零,身败名裂 而且这还是道原题!!原题!! 从只往一棵子树走的情况考虑 $x$往左走了$z$个儿子,那总和为$x\sum\limits_{i=0}^{z}2^i=x(2^{z+1} 1)$ 考虑从上到下第$y(y\in(2,z])$个儿子变成了右儿子,其它不变,则贡献为$x ...
分类:其他好文   时间:2019-10-31 23:38:39    阅读次数:137
LeetCode.62-unique-paths
LeetCode.62-unique-paths 思路:https://segmentfault.com/a/1190000016315625 ...
分类:其他好文   时间:2019-10-30 13:43:26    阅读次数:69
CF293B Distinct Paths
首先这个题有一个坑点(?):当$n+m 1 k$时无解.~~显然嘛~~ 所以$n,m\leq1000$?假的. 于是我们就可以愉快(?)的搜索了. 但是$k^{n m}$依旧非常大,于是我们开始剪枝. 可行性剪枝:如果剩下的颜色不足以支持剩下的路程,就直接$return$. 我们可以对于同一类数字( ...
分类:其他好文   时间:2019-10-30 00:10:37    阅读次数:178
「CF741D」Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths
传送门 "Luogu" 解题思路 考虑把22个字符状压下来,易知合法情况就是状态中之多有一个1,这个可以暴力一点判断23次。 然后后就是 dsu on the tree 了。 细节注意事项 + 咕咕咕 参考代码 cpp include include include include include ...
分类:其他好文   时间:2019-10-27 10:52:03    阅读次数:57
63. Unique Paths II
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:其他好文   时间:2019-10-26 15:17:26    阅读次数:95
VSCode使用
使用VSCode c_cpp_properties.json添加Include Paths Ctrl+Shift+P可以调出控制窗口再输入edit或者configuration,选择"C/Cpp:Edit Configurations":然后就出来了。 只有下面这一句是我添加的: 这个是配置路径使用 ...
分类:其他好文   时间:2019-10-25 20:26:32    阅读次数:77
[LC] 437. Path Sum III
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t ...
分类:其他好文   时间:2019-10-20 11:16:59    阅读次数:99
Python Ethical Hacking - WEB PENETRATION TESTING(3)
CRAWLING SUMMARY Our crawler so far can guess: Subdomains. Directories. Files. Advantages: ->Discover "hidden" paths/paths admin does not want us to k ...
分类:编程语言   时间:2019-10-19 22:15:34    阅读次数:91
Redundant Paths POJ - 3177
无向图概念:(这里的x->y表示x和y之间有一条无向边)1.桥:对于一个无向图,如果删除某条边后,该图的连通分量增加,则称这条边为桥 比如1->2->3->4这样一个简单得图一共有3个桥,分别是1->2,2->3,3->4 1->2->3->4->1 这样就没有桥,因为删除任意一个边,任意两点还可以 ...
分类:其他好文   时间:2019-10-12 22:53:05    阅读次数:95
1380条   上一页 1 ... 10 11 12 13 14 ... 138 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!