这可怜的分数 A 点点的圈圈 考场上强转的时候1ll写成了1l,60变28:sob: 将最小包含自己的圆当作父亲,跑一个简单的树形DP就可以求出答案,考虑如何找父亲 扫描线,将扫到的圆的上下面分别加到set里,新加一个点的时候找y坐标第一个比它大的半圆,如果这个半圆是上半圆,那一定是它父亲,否则就是 ...
分类:
其他好文 时间:
2021-02-04 12:07:29
阅读次数:
0
前端去处理节日 逻辑 要处理哪一年的。 哪一年,每月的天数。 判断,放入数组。 let array = []; let yearNow = new Date().getFullYear(); for(let i=0;i<12;i++){ //月份加一 let date = new Date(year ...
分类:
Web程序 时间:
2021-02-04 12:04:13
阅读次数:
0
方法一: 使用maven方式创建。 1.1创建Maven项目 1.选择file->new->project,创建maven项目 2. 选择默认的工作空间 3.选择项目的类型,这里以web项目为主,选择quickstart类型的: 4.填写项目组和名称,点击finish 5.此时一个maven项目就创 ...
分类:
编程语言 时间:
2021-02-04 11:54:58
阅读次数:
0
let require = ()=>{throw new Error('函数必须传参')} let print = (num=require())=>{console.log(num)} print(2) // 2 print(null) // null print() // 报错 ...
分类:
其他好文 时间:
2021-02-04 11:52:57
阅读次数:
0
config.php文件里面定义框架目录常量 解析URL中的model,control,action 根据URL解析后的control,new出control, new $control(); new ReflectionMethod检测action权限 call_user_func_array执行 ...
分类:
Web程序 时间:
2021-02-03 11:01:10
阅读次数:
0
import timeimport hmacimport hashlibimport base64import urllib.parsedef get_sign(): timestamp = str(round(time.time() * 1000)) secret = 'SEC6b56772f91 ...
分类:
其他好文 时间:
2021-02-03 10:57:36
阅读次数:
0
System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); //允许使用该对话框的自定义颜色 colorDialog.AllowFullOpen = true; colorDialog. ...
javax.servlet.ServletConfig是SUN制定的接口,apache对ServletConfig接口的实现类的完整类名是:org.apache.catalina.core.StandardWrapperFacade,但是作为程序员不需要关心具体的类型,只要面向javax.servl ...
分类:
其他好文 时间:
2021-02-02 11:13:43
阅读次数:
0
Dr. Tuple is working on the new data-mining application for Advanced Commercial Merchandise Inc. One of the subroutines for this application works wit ...
分类:
其他好文 时间:
2021-02-02 11:09:22
阅读次数:
0
借鉴自某位大佬不记得了 using System.Collections; using System.Collections.Generic; using UnityEngine; using ZXing; using UnityEngine.UI; /// <summary> /// 二维码扫描识 ...
分类:
编程语言 时间:
2021-02-02 11:05:42
阅读次数:
0