• 2024-08-01HDU 4334 Trouble
    题目链接:HDU4334【Trouble】思路    哈希+贪心,直接将五个数组分成两个或者三个数组,此时数组相加的时间复杂度为O(n2)或者O(n3),然后双重循环数组e和s1并遍历找出s2中是否有满足题意的元素,这个步骤可以使用二分代替还能降低时间复杂度。代码#include<iostream>#inc
  • 2024-07-11设计模式之职责链模式
    1.职责链模式(ChainofResponsibilityPattern)        在职责链模式中,多个处理器依次处理同一个请求。一个请求先经过A处理器处理,然后再把请求传递给B处理器,B处理器处理完后再传递给C处理器,以此类推,形成一个链条。链条上的每个处理器各自承担各自的处理职责,所
  • 2024-02-20G. Vlad and Trouble at MIT
    原题链接题解细节很多的树形dp,请看代码code#definelllonglong#include<bits/stdc++.h>usingnamespacestd;llsit[100005]={0};llf[100005]={0};vector<ll>G[100005];charstr[100005];inlinevoidread(ll&x){x=0;llflag=1;charc=
  • 2023-02-02S2 - Lesson 28 - No parking
    Wordsrarerarepeoplearatediseaseraresteak Medusa ancient myth Gorgon troublehavetroublewithhavetroubleindoingsth.runintotroubl
  • 2022-12-28double trouble
    doubletrouble ​​Executionplans​​​,​​​Performance​​​,​​​Tuning​​ —JonathanLewis@7:06pmBSTMay18,2010 Inthelates
  • 2022-10-05how to repair JCB HP 2010 machine DTC U0411 flash code 87
     ThisinstructionshowyouguideonhowtorepairJCBHP2010machineDTCU0411flashcode87turbochargercontrolmodulesignalmalfunctionwithISUZU4HK1
  • 2022-08-14第二十五天
    1.fuel燃料2.leap跳跃3.pretend假装4.precaution预防措施5.embarrass使尴尬6.freshman新生7.drunk沉醉8.threat威胁9.absent缺席的10.clean洁净的11.