码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果
Write-up-Bulldog2
关于 下载地址: "点我" 哔哩哔哩: "哔哩哔哩" 信息收集 网卡:vboxnet0,192.168.56.1/24,Nmap扫存活主机发现IP为192.168.56.101 发现只开了80端口,所以只能从Web入手了,浏览器打开看插件可知编程语言是Node js,整个页面也只加载了几个js和cs ...
分类:其他好文   时间:2020-01-19 09:25:44    阅读次数:88
[LC] 1002. Find Common Characters
Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list (including d ...
分类:其他好文   时间:2020-01-18 13:04:21    阅读次数:99
java里的四舍五入(保留两位小数,返回double类型)
1、最简单的操作,验证之后是准确的四舍五入 double payPercent=123.345; System.out.println((double)Math.round(payPercent*100)/100); 输出结果:123.35 2、使用BigDecimal 1、 ROUND_UP:远离 ...
分类:编程语言   时间:2020-01-18 12:24:51    阅读次数:103
小技巧|H5禁止手机虚拟键盘弹出
本文首发于我的博客:http://dunizb.com原文地址:http://dunizb.com/2017/09/24/disable-the-phone-virtual-keyboard-up/ 工作中遇到如下需求,点击输入框弹出自定义弹窗,输入框是input标签:但是在移动端,input会默认 ...
分类:移动开发   时间:2020-01-18 10:58:17    阅读次数:96
[AT2370] Piling Up
题目大意 一开始有n个颜色为黑白的球,但不知道黑白色分别有多少,m次操作,每次先拿出一个球,再放入黑白球各一个,再拿出一个球,最后拿出的球按顺序排列会形成一个颜色序列,求颜色序列有多少种 n,m小于等于3000 解析 折线法经典题。 我们不妨将黑球的数量当做平面的纵坐标,那么每一次操作的每一步中黑球 ...
分类:其他好文   时间:2020-01-18 01:04:28    阅读次数:75
Leetcode1304. Find N Unique Integers Sum up to Zero
public int[] sumZero(int n) { int [] Array= new int[n]; int sum=0; //前n-1个数之和 for(int i=0;i<Array.length-1;i++) { Array[i] = i; sum+=i; } Array[Array. ...
分类:其他好文   时间:2020-01-17 23:15:57    阅读次数:80
BPIM2Zero connect wifi in terminal
0. su root 1.查看设备名称 iw dev 2.扫描wifi(两种方法) iwlist wlan0 scanning |grep SSID iw wlan0 scan | grep SSID 3.查看 wlan0网卡的激活状态,<>内没有‘’UP‘’字样就表示未激活 ip link sho ...
分类:其他好文   时间:2020-01-16 22:18:34    阅读次数:123
centos7无网卡驱动
问题现象 安装centos7完毕之后,不显示网卡只有lo文件,现象如下 [root@localhost ~]# ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 :: ...
分类:其他好文   时间:2020-01-16 14:50:20    阅读次数:345
1304. Find N Unique Integers Sum up to Zero
Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio ...
分类:其他好文   时间:2020-01-16 14:19:16    阅读次数:90
[题解] [AGC013D] Piling Up
"题面" 题解 把操作放到坐标轴上, $y$ 轴代表黑球个数, $x$ 球代表操作次数 然后对应的操作就可以看作加上 $(1, 1)$ 或 $(1, 1)$ 的两个向量 于是对应的操作序列就变为了一根折线 但是有可能会有重复的情况 我们只计算到达过 $x$ 轴的那一根 并且这是肯定可以实现的 于是我 ...
分类:其他好文   时间:2020-01-16 10:52:06    阅读次数:68
7825条   上一页 1 ... 42 43 44 45 46 ... 783 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!