笔记
文章平均质量分 78
CSWish
这个作者很懒,什么都没留下…
展开
-
排列组合的基础(入门必备!!)
这是对基础排列组合的整理, 后续会有题单和题解。原创 2022-07-14 21:16:16 · 4899 阅读 · 1 评论 -
紫书第三章课后习题题解(超详细!!!)
蛇形填数#include<iostream>#include<cstring>#include<cmath>using namespace std;int n;int a[1000][1000];int main(){ int t; cin>>t; while(t--) { cin>>n; int tot = 0; memset(a, 0, sizeo原创 2021-10-25 22:53:33 · 321 阅读 · 0 评论 -
KMP--作用、模板、题单总结(包含题解)
KMP–作用、模板、题单总结(包含题解)模板#include <cstdio>#include <cstring>using namespace std;int n;char ts[100];char ms[100];int next[100];int len; void getNext(){ int i = 0, j = -1; next[0] = -1; while (i != len){ if (j == -1 |原创 2021-10-12 16:22:55 · 286 阅读 · 1 评论