问题 let badge = [{id: 323, badge: 10},{id: 323, badge: 10},{id: 311, badge: 1},{id: 311, badge: 1},{id: 311, badge: 1},{id: 311, badge: 1},{id: 352, ba ...
分类:
编程语言 时间:
2021-04-16 11:50:48
阅读次数:
0
由于B,C题总是过得太慢甚至做不出来,特开此帖进行训练. 现在的想法是每天一道1600的题目. D. Min Cost String 给出一个长度n与字符集为前k个英文字母,要求构造出一个长度为n的字符串,使得其中的cost最小. cost定义为满足si=sj且si+1=sj+1的索引对i,j的数量 ...
分类:
其他好文 时间:
2021-04-15 12:44:35
阅读次数:
0
根据提示查看源码,看到p1与p2以及后面的eval 看到p1的字符串,想到URL编码,故解码之 p1=function checkSubmit(){var a=document.getElementById("password");if("undefined"!=typeof a){if("67d7 ...
分类:
Web程序 时间:
2021-04-15 12:40:32
阅读次数:
0
题目: Implement a function that receives two IPv4 addresses, and returns the number of addresses between them (including the first one, excluding the la ...
分类:
其他好文 时间:
2021-04-15 12:16:50
阅读次数:
0
#####效果:div内部swiper滑动时,外部div背景图片随着变化 ######思路:获取swiper的索引,用:style定义背景图片 //template //外部背景图片 <div class="cont-box" :style="{backgroundImage: 'url(' + b ...
分类:
其他好文 时间:
2021-04-15 11:59:42
阅读次数:
0
一.排序: 1.slice切片( ::-1) 2.reversed( ) 3.sorted( ,reverse=True)) 字母数字不可同时存在。默认为False升序,True降序。 4.filter(function,iterable) 二.常用 1.sum() 2.max() 3.min() ...
分类:
编程语言 时间:
2021-04-15 11:57:56
阅读次数:
0
实现Gitlab事件自动触发Jenkins构建及钉钉消息推送 实践环境 GitLab Community Edition 12.6.4 Jenkins 2.284 Post build task 1.9(Jenkins插件) Generic Webhook Trigger Plugin 1.72(J ...
分类:
其他好文 时间:
2021-04-14 12:21:46
阅读次数:
0
<a id="ajax_submit">悄悄提交</a> <script> $('#ajax_submit').click(function () { $.ajax({ url:"/host/", type:'POST', data:{'k1':123,'k2':'root'}, success:f ...
分类:
Web程序 时间:
2021-04-14 12:21:15
阅读次数:
0
head部分: <script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script> <script type="text/javascript" src="bower_components ...
分类:
其他好文 时间:
2021-04-14 12:17:46
阅读次数:
0
/** * 跨域请求设置 */ function checkAllowOrigin() { //从配置文件获取允许源域名 $allowOrigin = explode(',', env('app.allow_origin')); if (in_array('*', $allowOrigin)) { ...
分类:
Web程序 时间:
2021-04-14 12:05:15
阅读次数:
0