• 2024-07-31GYOI Beginning Contest #1 -zh
    GYOIBeginningContest#1Div.3WelcometoGBCRound1。题目顺序按难度排序。ProblemContents来自XU的评价:T1需要思考一下T2有点水T3直接暴力T4?ProblemHintListT1Hint到底要怎样才需要交换呢?T2Hint我们设$g(i,j)$表示结点$i$到他的第$2^j$个
  • 2024-07-06IOB 格式(Inside-Outside-Beginning)介绍
    当使用IOB格式进行命名实体识别时,每个词汇都被标记为三种可能的情况之一:B-XXX、I-XXX或O。这里给出一个详细的例子来说明:假设我们有以下句子:"JohnlivesinNewYorkCity."在这个例子中,如果我们要标注人名(PER)、地名(LOC)和其他(MISC)实体,可能的标注结果如下:John:B-PER(表示人
  • 2024-06-10CF1534G A New Beginning
    MyBlogsCF1534GANewBeginning不太懂为啥是黑。需要先会基本的slopetrick。首先切比雪夫距离可以转成曼哈顿距离但是没啥必要。因为只能向右上走,所以考虑把每个关键点归到它属于的斜率为\(-1\)的直线上,即按照\(x_i+y_i\)排序分类。容易发现一定是走到了某条灰线上之
  • 2024-03-03【AFO】Everything that has a beginning has an end.
    OITimeline面对无穷的数字常常癫狂。天永远下雨,也永远有一团火燃烧。焦虑与成就感交织。最终应该用一词多义的“谢”字作结。无数次辜负期望,为我自己不曾相信自己配得的梦想。疏于学习又始终不自信,阻隔出实力的鸿沟,最终指向扑朔迷离的命运。总有一种难以言说的苦楚。它来自如
  • 2024-02-22the beginning
    /ThisisthefirstcodeIwroteafterlearningc,andIlearntthefirstcodingskillthatisusingarraytosolveproblems.
  • 2024-01-17Inserting a node at beginning,全局变量头指针【1月16日学习笔记】
    点击查看代码//insertinganodeatbeginning,全局变量头指针#include<iostream>usingnamespacestd;structnode{ intdata; node*next;};node*A;voidinsert(intx){ node*temp=newnode;//创建新节点 temp->data=x; temp->next=A;//新节点尾巴指
  • 2024-01-17Inserting a node at beginning,局部变量头指针版本1【1月16日学习笔记】
    点击查看代码//insertinganodeatbeginning,局部变量头指针版本1#include<iostream>usingnamespacestd;structnode{ intdata; node*next;};node*insert(intx,node*A){ node*temp=newnode;//创建新节点 temp->data=x; temp->next=A;//新节
  • 2024-01-17Inserting a node at beginning,局部变量头指针版本2【1月16日学习笔记】
    点击查看代码//insertinganodeatbeginning,局部变量头指针版本2#include<iostream>usingnamespacestd;structnode{ intdata; node*next;};voidinsert(intx,node**A){ node*temp=newnode;//创建新节点 temp->data=x; temp->next=*A;//新
  • 2024-01-10We Are Just Beginning
    Wearereadingthefirstverseofthefirstchapterofabookwhosepagesareinfinite...Idonotknowwhowrotethosewords,butIhavealwayslikedthemasareminderthatthefuturecanbeanythingwewanttomakeit.Wecantakethemysterious,hazy
  • 2023-07-03Codeforces 585D Lizard Era: Beginning
    很容易想到可以对于每个任务选不去的那一个人进行搜索,时间复杂度\(O(3^n)\),明显过不了。发现\(n\le25,\lceil\frac{n}{2}\rceil\le13\),且各个任务间不会互相影响,便可以用折半搜索分成\(2\)部分来搜最后来合并。考虑如何合并两部分,令前一部分得到的值分别为\(a,b,c\),后
  • 2023-01-01AtCoder Beginner Contest 283 - a new beginning
    许久没有写过博客了,让2023成为一个新的起点,重新开始写博客。尽量写的高质量一点,从E开始。E-Don'tIsolateElements考虑dp,考虑如何设计状态。不难看出,每一行变两
  • 2022-12-08简介(Beginning Visual C++ 2013)
    欢迎阅读IvorHorton的《VisualC++2013入门》。通过本书,您可以使用Microsoft最新的应用程序开发系统VisualStudioProfessional2013成为一名有效的C++程序员。我的目标
  • 2022-12-05[N]Chap01:Java概述
    Thisisnottheend;Itisnoteventhebeginningoftheend.Butitis,Perhaps,Theendofthebeginning.
  • 2022-11-04《to the beginning》部分歌词摘抄
    注:本歌为《Fate/Zero》OP2estiakasamistifiriato我思念你(梶浦语生肉翻译)viadistacolteIsolmalia无限止的战争(梶浦语生肉翻译)あと一度だけ奇跡は起こるだろう
  • 2022-09-18Mac配置 zsh
    1.设置llvim~/.zprofile然后添加:aliasll='ls-lG' 2.设置快速上翻历史命令vim~/.zprofile然后添加:bindkey"^[[A"history-beginning-search-backwardbindkey
  • 2022-08-31vim
    键位作用{,}skipblocksofcodectrl+rredoyyyankthelinePpasteabove:32gotoline320gotobeginningofline$gotoendofl