在Windows powershell上运行脚本失败:提示信息“无法加载文件 C:\Users\huangshimin\AppData\Roaming\npm\wechat-terminal.ps1,因为在此系统上禁止运行脚本”,(需要以管理员身份运行)参考:https://blog.csdn.ne ...
分类:
移动开发 时间:
2020-04-02 10:26:01
阅读次数:
108
400GBASE-SR8 400G QSFP-DD ActiveOptical Cable has transceiver at its respective ends, a combination oftransmitter and receiver which is connected to a ...
分类:
其他好文 时间:
2020-04-01 13:07:43
阅读次数:
116
ICG(Intergrated Clock Gating)作为low power的设计手法之一,已经在实际中得到广泛应用。它们能够在某些时候将某些clock关断从而达到降低功耗的目的。然而从时序的角度,经常会发生ICG的setup难以收敛的情况。 为什么会出现这种情况呢? 下图展示了一种简单的带IC ...
分类:
其他好文 时间:
2020-04-01 12:51:23
阅读次数:
172
题目链接:http://poj.org/problem?id=3134 题目给出一个初始的x,要求操作只能是乘与除,问最少需要多少步才能算出x^n。这道题等价于给一个1,只能加或者减,问最少需要多少步才能得到n。可以把n拆开成许多个数相加或者相减,从搜索的角度来讲,用普通dfs的话很可能深度达到10 ...
分类:
其他好文 时间:
2020-04-01 10:58:07
阅读次数:
60
题目 题目链接:https://codeforces.com/problemset/problem/906/D 给出一个数列 $a$,每次询问给出 $l,r$,求 思路 根据扩展欧拉定理,当 $b\geq \varphi(p)$ 时, $$a^b\equiv a^{b\bmod \varphi(p) ...
分类:
其他好文 时间:
2020-03-31 14:40:30
阅读次数:
53
E - Power Strings Given two strings a and b we define ab to be their concatenation. For example, if a = "abc" and b = "def" then ab = "abcdef". If we ...
分类:
其他好文 时间:
2020-03-31 14:21:25
阅读次数:
63
参考链接: https://blog.csdn.net/ansondroider/article/details/97259148 准备一个关机的图标,网上去找 将这个图标放入 Android 源码目录,如下 在下面的文件里面增加相关的字符: 添加按键布局: frameworks/base/pack ...
分类:
移动开发 时间:
2020-03-30 14:29:12
阅读次数:
107
莫队。 统计ai[i]的出现次数,每一次先还原贡献,再加上或减去当前的贡献即可。 ...
分类:
其他好文 时间:
2020-03-29 11:04:11
阅读次数:
68
1 #include<bits/stdc++.h> 2 3 using namespace std; 4 5 const int power=4; 6 const int base=1e4; 7 const int maxn=2e3+5; 8 9 struct num{ 10 int a[maxn< ...
分类:
编程语言 时间:
2020-03-29 10:28:23
阅读次数:
61
一、以管理员权限启动PowerShell,输入lxrun /setdefaultuser root,打开WSL,输入passwd root修改密码。 二、打开CMD或PowerShell,输入ubuntu config --default-user root,修改ubuntu系统默认用户为root, ...