• 2024-02-21Did We Get Everything Covered?
    小清新贪心题我们直接考虑如何找出反例,假设我们已经知道了这个反例,那么为什么找不到呢?我们在尝试找的时候,肯定是依次找反例的每个字母,根据贪心,肯定是越往前找越好,而即使这个样子我们最后都无法匹配完这个反例所以我们可以想出一个贪心算法:依次遍历每个字母,并用一个数组\(mark\)
  • 2024-02-03C. Did We Get Everything Covered?
    C.DidWeGetEverythingCovered?Youaregiventwointegers$n$and$k$alongwithastring$s$.Yourtaskistocheckwhetherallpossiblestringsoflength$n$thatcanbeformedusingthefirst$k$lowercaseEnglishalphabetsoccurasasubsequenceof
  • 2024-01-28C. Did We Get Everything Covered
    原题链接前情提要限于自身知识水平的储备不足,无法对这道题的贪心算法做出一个证明,待来日学识渐长把这个证明写下题解我们可以把字符串s分成若干区间,每一区间对应一位数字的储备已知长度为n,那我们就一位一位地遍历,一旦所有元素遍历齐就开始下一位的遍历,因为再往后遍历也不起作
  • 2023-06-0625)m2e-execution-not-covered 具体例子
    http://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html  这个插件定义的phase不包含在Eclipsem2e的生命周期内。(这种情况很正常,自己定义的插件所在的phase可以是各种各样的) 出现这种情况除了有个讨厌的红叉,不会影响正常的mavenbuild,只是eclipse
  • 2023-06-06m2e-execution-not-covered
    http://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.htmlBackgroundM2Eclipse0.12andearlierexecutedsomepartsofMavenbuildlifecycleinsideEclipseandthenconfiguredtheEclipseprojectbasedonafter-executionstatecollectedinM
  • 2023-06-02idea - 文件后面显示 0%classes,0% lines covered -解决
    这是因为不小心按了 可以ctrl+Alt+F6 选择"nocoverage "按钮即可
  • 2023-05-16Cypress 踩坑记 - DOM 遮挡
    Cypress是一个非常流行的测试工具,然而实际使用过程中发现一些问题,这里做些记录。问题发现在Cypress下click是非常常用的指令,然而在一些特殊场景下click并不能如想象中那般正常工作。比如现在有一个弹窗,我们需要测试在点击遮罩层时是否可以正常关闭弹窗。测试代码比
  • 2023-05-16Plugin execution not covered by lifecycle configuration
    异常信息:[color=red]Pluginexecutionnotcoveredbylifecycleconfiguration:com.google.code.maven-svn-revision-number-plugin:svn-revision-number-maven-plugin:1.13:revision(execution:default,phase:validate)Pluginexecutionnotcovere
  • 2023-05-16解决Maven报Plugin execution not covered by lifecycle configuration
    解决Maven报Pluginexecutionnotcoveredbylifecycleconfiguration按照这个来,然后再创建maven工程和项目,可能解决问题.解禁MAVEN“Pluginexecutionnotcoveredbylifecycleconfiguration”问题[url]http://blog.sina.com.cn/s/blog_725eee7
  • 2023-05-03MPL协议原文
    MPL协议原文原文参考链接中文翻译有一个,但是只翻译了两条原文MozillaPublicLicenseVersion2.01.Definitions1.1.“Contributor”meanseachindividualorlegalentitythatcreates,contributestothecreationof,orownsCoveredSoftware.1.2.“Contribut
  • 2023-04-19Plugin execution not covered by lifecycle configuration
    <build><pluginManagement><plugins><!--Thisplugin'sconfigurationisusedtostoreEclipsem2esettingsonly.IthasnoinfluenceontheMavenbuilditself.-->
  • 2023-01-01S2 - Lesson 5 - No wrong numbers
    Words pigeondove message urgentmessagesshortmessages distancen.   adj.distance,distantdifference,differentimportance,importantconfid
  • 2022-12-28S1 - Lesson 143 - 144
    Words surroundsur-surnamesurcoatsurfacesurpassbesurroundedby...thevillageissurroundedbymanytrees. wood.forestwoodfloor. beautyspot.
  • 2022-09-0415.web开发-SpringMVC自动配置概览
    SpringBootprovidesauto-configurationforSpringMVCthatworkswellwithmostapplications.(大多场景我们都无需自定义配置)Theauto-configurationaddsthef