题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=4734" 题目大意: 对于一个 $n$ 位十进制数 $x$ ($A_nA_{n 1}A_{n 2} \cdots A_2A_1$),我们定义 $$F(x)=A_n \times 2^{n 1} + A ...
分类:
其他好文 时间:
2019-12-02 18:41:38
阅读次数:
95
1/ 公共文件util添加 request请求 //简单封装请求 function request(params, path, isShowLoading = true, goBack = false, type = 'none', obj={}) { try { console.log(path) ...
分类:
微信 时间:
2019-12-02 16:57:41
阅读次数:
107
2019 2020 1 20175310 20175317 20175320 实验四 外设驱动程序设计 小组成员 20175310 奚晨妍 20175317 钟睿文 20175320 龚仕杰 实验步骤 一、外设驱动程序设计 1 1、学习资源中全课中的“hqyj.嵌入式Linux应用程序开发标准教程. ...
分类:
其他好文 时间:
2019-12-01 15:21:43
阅读次数:
103
深入理解java数据类型 === java是一种强类型语言,这就意味着必须为每一个声明变量声明一种类型。在java中,一共有8种数据类型,其中4种整型,2种浮点类型,1种字符类型和一种表示真值的boolean类型。 1. 整型 整型用于表示没有小数部分的整数部分,java提供了4中整型,如下表所示: ...
分类:
编程语言 时间:
2019-12-01 13:20:42
阅读次数:
89
2019-11-29: 学习内容: 一、(1)class: 生成实例对象的传统方法:构造函数 ES6的class: 生成实例对象:var b = new Point(x, y) 构造函数的prototype属性,在 ES6 的“类”上面继续存在。事实上,类的所有方法都定义在类的prototype属性 ...
分类:
其他好文 时间:
2019-12-01 00:19:19
阅读次数:
102
题目:盒子 题目:排列p是一个整数序列 p = [p1, p2,...,pn],由n个唯一的正整数组成 唯一的线索是你需要打开上锁的盒子 你只知道前缀的最大数,q1, q2, ..., qn, 保证qi include include include include using namespace ...
分类:
其他好文 时间:
2019-11-30 21:25:21
阅读次数:
99
Select扩展: 1 public static class SelectExtensions 2 { 3 /// <summary> 4 /// @Html.EnumDropDownListFor(model => model.PermissionType) 5 /// </summary> 6 ...
分类:
Web程序 时间:
2019-11-30 21:03:54
阅读次数:
86
tag里有二分,非常的神奇,我用暴力做的,等下去看看二分的题解 但是那个数组的大小是我瞎开的,但是居然没有问题233 ...
/////////////////////////////////定义节点结构体 struct node{ int data; struct node *pnext;}; ////////////////////////////////////main函数 int main(){ struct no ...
分类:
其他好文 时间:
2019-11-30 16:28:16
阅读次数:
94
struct mat { LL ma[sz][sz]; inline mat() { memset(ma, 0, sizeof ma); } inline mat operator+(const mat & T) const { mat res; for (int i = 0; i < sz; ++ ...
分类:
其他好文 时间:
2019-11-29 13:06:19
阅读次数:
57