sty
  • 2024-11-13noip模拟12
    A花鳥風月对于每个区间,若左边端点为\(l\),右边端点为\(r\),那这个地方能放下的线段数则为\(\frac{r-l}{a+1}\)。那么每进来一个坏点,只会影响它的前驱后继的区间。那我们用set或者map维护一下前驱后继,每次加点去抵消它的区间的影响,再加回来就可以了。点击查看代码#incl
  • 2024-10-1801 bfs 学习笔记
    当一张图的边权只有\(0\)和\(1\)时,跑dij的堆优化显得比较累赘。因为只有两个取值,所以取\(0\)的时候在队列前面推进来,反之在后面。其他和dij没什么区别,时间复杂度\(O(m)\),其中\(m\)是边数。相关题目:P4554小明的游戏。点击查看代码voidwork(){ m0(vis);mem(di
  • 2023-08-26Saving your Plot: Stylesheets and Layouts (STY, LAY, LPK)
    DescriptionWedescribetheusesanddifferencesbetweenTecplot360’sthreedifferentmethodsforsavingthestyleandsettingsofyourplot.Theseincludestylesheets(STYfiles)linkeddatalayouts(LAYfiles)andpackageddatalayouts(LPKfiles).The
  • 2023-07-12vue3自定义指令 拖拽 与拖拽变大小
    directives:{drag:{mounted:(el,binding)=>{constdragDom=el;conststy=dragDom.currentStyle||window.getComputedStyle(dragDom,null);el.parentElement.style.cursor='move';
  • 2023-02-03ubuntu lexstudio File `silence.sty' not found. \hbadness
    编译源码时提示Filesilence.sty'notfound.\hbadness`网站下载该包将下载下来的zip包解压,sudocp到/usr/share/texlive/texmf-dist/tex/latex/silencesudocp-rsile
  • 2023-01-14linux中非root用户安装R:configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and pa
     001、问题:configure:WARNING:neitherinconsolata.stynorzi4.styfound:PDFvignettesandpackagemanualswillnotberenderedoptimally  002、解决方
  • 2023-01-12非root用户安装R:configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and package
     001、问题  002、切回root,执行如下命令[liujiaxin01@PC1software]$wgethttp://mirrors.ctan.org/fonts/inconsolata.zip--no-check-certificate[liujiaxin
  • 2022-10-14hitszthesis Linux使用笔记
    安装texlive#texlive-extra-utils:texdef#latex-cjk-all:Chinesefontpackage#texlive-fonts-extra:Fontssuchasconsolas#evince:PDFreadersudoaptinstall下