• 2024-03-24Pedagogic metalanguage
    TheEnglishvideoI’dliketochooseisaclipfromthemoviePrideandPrejudice.Thesceneissetinavastfield.Theskyhadjustdawned,creatinganimageofserenity.Darcywalkedoutofthemorningmist,stepbystep.Behindhimwasthelightofth
  • 2023-09-29Go每日一库之143:servicegroup(进程内优雅管理多个服务)
    前言在go-zero社区里,经常会有同学问,把APIgateway和RPCservice放在同一个进程内可不可以?怎么弄?有时也会有同学把对外服务和消费队列放在一个进程内。咱们姑且不说此种用法合理与否,因为各个公司的业务场景和开发模式的差异,我们就只来看看此类问题怎么解比较优雅。问题举例
  • 2023-07-247/24·morning
    问题A:铲雪车问题#include<bits/stdc++.h>usingnamespacestd;intmain(){longlongx,y;longlonga,b,c,d;doubles;cin>>x>>y;while(cin>>a>>b>>c>>d){s+=sqrt((a-c)*(a-c)+(b-d)*(b-d));
  • 2023-07-237/23·morning
    1248:DungeonMaster  http://ybt.ssoier.cn:8088/problem_show.php?pid=1248#include<bits/stdc++.h>usingnamespacestd;chara[103][103][103];intvis[103][103][103];intsx,sy,sz,ex,ey,ez;structqwert{intx,y,z;};intxx[6]={1,-1,0,0,0,0};in
  • 2023-07-227/22·morning
    1269:【例9.13】庆功会  http://ybt.ssoier.cn:8088/problem_show.php?pid=1269#include<bits/stdc++.h>usingnamespacestd;intn,m;intw[503],v[503],s[503];intdp[6007];intmain(){cin>>n>>m;for(inti=1;i<=n;i++){cin>&
  • 2023-05-25In The Morning
               Wakinguptofindanotherday      Themoongotlostagainnight      Butnowthesunhasfinallyhadits say       IguessIfeelalright      ButithurtswhenI think     WhenIletitsinkin   
  • 2023-04-04List集合之元素和对象去重
    目录1List元素去重1.1移除List中指定某一元素1.1.1For循环移除1.1.1.1For移除不彻底问题1.1.1.2用i--解决问题1.1.1.3倒序遍历移除元素1.1.2ForEach移除1.1.2.1ConcurrentModificationException异常1.1.2.2iterator遍历1.2移除List中重复元素1.2.1ForEach添加去重1.2
  • 2023-02-23golang-小技巧:slice与sort包
    s1:=make([]string,2)s1[0]="good"s1[1]="morning"//根据val寻找下标i:=sort.SearchStrings(s1,"morning")fmt.Println(i)so
  • 2023-02-05QDateEdit 使用
       QDateEdit*dateEdit_date_morning;dateEdit_date_morning=newQDateEdit(centralWidget);dateEdit_date_morning->setObjectName(QStringLiteral("dateEdit_da
  • 2022-12-07S1 - Lesson 77 - 78
    Wordsappointmentappointmakeanappointmentdatehaveadatehaveanappointmentwiththedoctorat10:30 urgenturgencyIncaseofurgency,callthepoli
  • 2022-11-23介词(可能是英语里最难的词)
    介词介词使用频率非常高实词为具体的,有实际意义的。看的见摸的着的东西虚词基本上为抽象的概念介词是为了介绍实词的虚词prepositionpre在..之前position位置前
  • 2022-10-31OJ周赛第一次——Good morning
    Goodmorning 问题描述一天,小马在A点过B分准时起床(24小时制),而小亮在C点过D分1秒准时起床。 输入 输入4个整数A,B,C,D0≤A≤230≤B≤590≤C≤230≤D≤5