01 2024 档案
摘要:前言 寒假也不要颓废哦,跟着 LightDirection 一起学习吧! Day1 复习高精度。 luogu p1601 #include<iostream> std::string a,b; int toNum(char ch){ return int(ch-48); } void zero(){
阅读全文
摘要:Example 有如下单词 1.abacb 2.abc 3.acb 4.aaa 5.bcb 构建字典树如下图 template #define N 3000005 #define M 70 int trie[N][M],index,cnt[N]; std::string s; namespace T
阅读全文
摘要:50 pts 只需要按照题目意思模拟即可,得出以下打表程序。 #include<iostream> #include<cstring> #include<cmath> int t,n; int mc(std::string x,std::string y){ int res=0; for(int i
阅读全文

浙公网安备 33010602011771号