"题目" Although Inzane successfully found his beloved bone, Zane, his owner, has yet to return. To search for Zane, he would need a lot of money, of whi ...
分类:
其他好文 时间:
2020-04-29 23:39:16
阅读次数:
77
``` //序列具有周期性 #include #include #include #include using namespace std; typedef long long ll; const int N=5e4+10; ll sum[N]; ll a,b,q; ll calc(ll x) { ... ...
分类:
其他好文 时间:
2020-04-29 18:21:24
阅读次数:
64
1、Java中异常分为哪两种?编译时异常运行时异常2、异常的处理机制有几种?异常捕捉:try…catch…finally,异常抛出:throws。3、如何自定义一个异常继承一个异常类,通常是RumtimeException或者Exception4、trycatchfifinally,try里有return,finally还执行么?执行,并且finally的执行早于try里面的return结论:1.
分类:
编程语言 时间:
2020-04-29 16:32:34
阅读次数:
127
一.普通写法 二.组件属性 三.bool类型 不要直接写 checked=false,其计算结果是?个字符串 四.三元运算 ,逻辑判断 ,字符串运算 花括号和引号之间如果有空格,将最终被解析成为字符串 ...
分类:
微信 时间:
2020-04-28 23:10:13
阅读次数:
94
转自:https://www.cnblogs.com/doufuyu/p/10874689.html 1、HashMap概述 在JDK1.8之前,HashMap采用数组+链表实现,即使用链表处理冲突,同一hash值的节点都存储在一个链表里。但是当位于一个桶中的元素较多,即hash值相等的元素较多时, ...
分类:
编程语言 时间:
2020-04-27 22:48:12
阅读次数:
57
VII. "CF954I Yet Another String Matching Problem" ~~FFT做字符串匹配就是有意思~~ 我们首先必须要搞清楚暴力匹配是什么样的过程。 例: | 位置 | 0 | 1 | 2 | 3 | | : : | : : | : : | : : | : : | ...
分类:
其他好文 时间:
2020-04-25 12:17:30
阅读次数:
70
916. 回文排列 中文English 给定一个字符串,判断字符串是否存在一个排列是回文排列。 样例 样例1 输入: s = "code" 输出: False 解释: 没有合法的回文排列 样例2 输入: s = "aab" 输出: True 解释: "aab" --> "aba" 样例3 输入: s ...
分类:
其他好文 时间:
2020-04-18 13:52:23
阅读次数:
86
Problem: A?+?B is a problem used to test one's basic knowledge for competitive programming. Here is yet another boring variation of it. You have two i ...
分类:
其他好文 时间:
2020-04-16 22:50:39
阅读次数:
182
1.基本用法 表单类控件承载了一个网页数据的录入与交互。vue提供了v-model用于表单类元素上双向绑定数据. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script s ...
分类:
其他好文 时间:
2020-04-12 22:41:00
阅读次数:
63
var box = document.getElementById("boxid"); var loves = document.getElementsByClassName("sel"); if(box.checked == false){//如果全选按钮不为选中 for (var i = 0; ...
分类:
其他好文 时间:
2020-04-12 12:32:19
阅读次数:
115