码迷,mamicode.com
首页 >  
搜索关键字:inpu    ( 7831个结果
766. Toeplitz Matrix
Problem : A matrix is Toeplitz if every diagonal from top left to bottom right has the same element. Now given an M x N matrix, return True if and onl ...
分类:其他好文   时间:2020-04-20 12:00:41    阅读次数:54
linux下最简单好用的的端口转发工具
linux下最简单好用的的端口转发工具官网地址http://www.rinetd.com/软件下载wgethttp://www.rinetd.com/download/rinetd.tar.gz解压安装tarzxvfrinetd.tar.gzmakemakeinstall编辑配置vi/etc/rinetd.conf0.0.0.08080172.19.94.380800.0.0.02222192.1
分类:系统相关   时间:2020-04-20 10:27:31    阅读次数:76
攻防世界PWN题 level3
"题目地址" 下载后发现题目的附件是一个 32 位可执行文件 level,以及一个 32 位的 libc 运行库 接下来使用 checksec 来查看 elf 文件开启了哪些保护,可得到如下内容: 执行一下来看效果,发现其基本流程如下 放到 ida 里反汇编得到如下结果 发现可以函数 vulnera ...
分类:其他好文   时间:2020-04-20 01:34:11    阅读次数:134
1134 Vertex Cover
A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with ...
分类:其他好文   时间:2020-04-20 01:33:53    阅读次数:85
代码中的设计模式
策略模式 ThreadPoolExecutor的RejectedExecutionHandler,实现不同的拒绝策略。 装饰者模式 BufferedInputStream对InputStream扩展buffer功能。 工厂模式 Executors作为工厂,提供各种ExecutorService。 命 ...
分类:其他好文   时间:2020-04-19 15:02:27    阅读次数:67
预测球队比赛成绩
分析乒乓球比赛所设计出的代码: from random import random def printIntro(): print("这个程序模拟两个选手A和B的某种比赛") print("程序运行需要A和B的能力值(0到1之间)") def getInputs(): a=eval(input("请 ...
分类:其他好文   时间:2020-04-19 14:47:56    阅读次数:55
leetcode整理
双数有序找单值 public int singleNonDuplicate(int[] nums) { int l = 0, h = nums.length - 1; while (l < h) { int m = l + (h - l) / 2; if (m % 2 == 1) { m--; // ...
分类:其他好文   时间:2020-04-19 14:31:29    阅读次数:65
mongodb及阿里云防火墙设置
删除mongodb apt-get purge --auto-remove mongodb 阿里云防火墙设置开启80端口:其他端口修改端口号就可以 iptables -I INPUT -p tcp --dport 80 -j ACCEPT firewall-cmd --zone=public --a ...
分类:数据库   时间:2020-04-19 12:34:57    阅读次数:106
Python Basic - 练习-提示用户输入长度跟宽度,然后输出字符“0”描述出一个正方形
[root@Private python script] cat square.py ...
分类:编程语言   时间:2020-04-19 12:32:24    阅读次数:65
728. Self Dividing Numbers
Problem : A self dividing number is a number that is divisible by every digit it contains. For example, 128 is a self dividing number because 128 % 1 ...
分类:其他好文   时间:2020-04-19 09:12:52    阅读次数:59
7831条   上一页 1 ... 61 62 63 64 65 ... 784 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!