- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 git pre-commit & husky配置教程
用于git commit的前置检查,阻断不合格的git提交。在package.json中添加配置。,并安装lint-staged。
2024-12-18 18:55:31
374
原创 JS四则运算重新封装,解决精度丢失问题
math.js/* eslint-disable no-extend-native *//* * @Author: Simon * @Date: 2021-07-14 16:32:43 * @LastEditors: Simon * @LastEditTime: 2021-07-22 18:52:30 * @Description: 四则运算重新封装,解决精度丢失问题 */// 加法Number.prototype.add = function (arg) { let r1, r2
2021-07-28 13:42:12
270
1
原创 Vue props传入function时的this指向问题
Vue props传入function时的this指向问题Parent.vue<template> <div> <Child :func="parentFunc"></Child> </div></template><script>import Child from './Child'export default { data () { return { msg: 'th
2021-01-04 16:01:58
6690
原创 HDU-5806-NanoApeLovesSequenceⅡ(尺取法)
NanoApe Loves Sequence ⅡTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/131072 K (Java/Others)Total Submission(s): 1348 Accepted Submission(s): 588Problem Description
2016-08-20 15:58:55
284
原创 HDU-5805-NanoApe Loves Sequence(思维题)
NanoApe Loves SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/131072 K (Java/Others)Total Submission(s): 1087 Accepted Submission(s): 448Problem DescriptionNa
2016-08-20 15:56:22
269
原创 HDU-2036-改革春风吹满地(多边形面积模板)
改革春风吹满地Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 30103 Accepted Submission(s): 15517Problem Description“ 改革春风吹满地,不会AC
2016-08-20 15:54:46
498
原创 HDU-1159-CommonSubsequence(LCS最长公共子序列)
Common SubsequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34353 Accepted Submission(s): 15683Problem DescriptionA sub
2016-08-20 15:51:37
298
原创 HDU-1097-A hard puzzle(快速幂)
A hard puzzleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 39822 Accepted Submission(s): 14354Problem Descriptionlcy gives
2016-08-20 15:42:36
250
转载 HDU-5783 Divide the Sequence(贪心水题)
Divide the SequenceTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1175 Accepted Submission(s): 563Problem DescriptionAlice h
2016-08-20 15:39:29
288
原创 PKU-2739-Sum of Consecutive Prime Numbers(筛素数法打表)
Sum of Consecutive Prime NumbersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23390 Accepted: 12780DescriptionSome positive integers can be represente
2016-08-20 15:37:05
237
原创 PKU-2524-Ubiquitous Religions(并查集模板)
Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 32067 Accepted: 15530DescriptionThere are so many different religions in the world t
2016-08-20 15:34:39
273
原创 PKU-1276-Cash Machine(多重背包模板)
Cash MachineTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32967 Accepted: 11948DescriptionA Bank plans to install a machine for cash withdrawal. The m
2016-08-20 15:30:52
320
原创 HNUC-2330 Casino-算法Manacher最长回文子串
hnuc-2330-Casino-Manacher最长回文子串Dalia is the assistant director of the fundraising team in the ACPC. She is facing a difficult time this year, there’s a huge lack of sponsors! And now we are facing the danger of not being able to provide the teams with ba
2015-08-03 17:22:47
402
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人