Exercises 3.2 21. (a). For $\omega = sinz$, what is the image of the semi-infinite strip $S_1 = \{x+iy|-\pi<x<\pi,y>0\}$ (b). what is the image of the ...
There are nn Christmas trees on an infinite number line. The ii -th tree grows at the position xixi . All xixi are guaranteed to be distinct. Each int ...
分类:
其他好文 时间:
2020-01-21 13:20:26
阅读次数:
96
Consider a text input. It would be impossible for anyone to model every value you could possibly put into it, because the number of possible values is ...
分类:
其他好文 时间:
2020-01-20 00:06:35
阅读次数:
71
.animated { animation-duration: 2s; /*动画时间*/ animation-fill-mode: both; /*播放后的状态*/ } .animated { animation-iteration-count: infinite; /*动作循环的次数:infini ...
分类:
其他好文 时间:
2020-01-17 23:09:27
阅读次数:
108
STM32 一种参数检查用法介绍 是一个在代码中很常见的写法,这个函数的功能一般是对函数参数的合法性进行检查,这里以一个例子进行分析: assert_param(IS_GPIO_ALL_PERIPH(GPIOx)) 函数的参数是 ,原型为: 这个宏定义的作用就是检查参数PERIPH,判断参数PERI ...
分类:
其他好文 时间:
2020-01-16 23:42:23
阅读次数:
111
"E. Inversions After Shuffle" 题意 有一个长 $n$ 的排列, 随机选取一段区间进行随机全排列, 求排列后整个序列的逆序对期望个数. $(n \le 10^5)$. 思路 首先, 考虑一整个排列进行排序后的逆序对期望个数, 一共有 $\frac{n(n 1)}{2}$ ...
分类:
编程语言 时间:
2020-01-13 21:48:42
阅读次数:
98
第一步:在mail.js中引入 import infiniteScroll from 'vue-infinite-scroll' Vue.use(infiniteScroll) 第二步:安装 cnpm install vue-infinite-scroll --save 第三步:使用 <div cl ...
分类:
其他好文 时间:
2020-01-13 19:31:39
阅读次数:
258
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .main{ position: relative; width: 0px; height: 200px; mar ...
分类:
Web程序 时间:
2020-01-09 22:46:23
阅读次数:
106
死循环 死循环就是一个无法结束的循环。(endless loop / infinite loop) 出现死循环是因为没有设置好结束条件,循环的结束条件很重要,要充分考虑各种边界情况。 以上一篇随笔中的习题(找到 n 个可以被整除的数)为例,如果缺少累计次数的条件,那么就会让条件表达式永远满足,这样程 ...
分类:
其他好文 时间:
2020-01-06 21:16:55
阅读次数:
83
链接: https://codeforces.com/contest/1281/problem/D 题意: You are an all powerful being and you have created a rectangular world. In fact, your world is s ...
分类:
其他好文 时间:
2019-12-26 22:49:40
阅读次数:
173