摘要: 数字三角形 #include <bits/stdc++.h> //#define int long long using namespace std; const int N=1e4+10,mod=1e9+7; string s; int n,t,a[N][N],f[N][N],res,num,an 阅读全文
posted @ 2023-07-22 19:49 o-Sakurajimamai-o 阅读(17) 评论(0) 推荐(0)
摘要: //单点修改查询 //http://ybt.ssoier.cn:8088/problem_show.php?pid=1549 //https://www.luogu.com.cn/problem/P1198 //用一维数组来存,当作完全二叉树来存 #include<bits/stdc++.h> us 阅读全文
posted @ 2023-07-22 11:46 o-Sakurajimamai-o 阅读(17) 评论(0) 推荐(0)
摘要: Ice and Fire time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little09 and his friends are 阅读全文
posted @ 2023-07-22 10:26 o-Sakurajimamai-o 阅读(19) 评论(0) 推荐(0)
摘要: # Subsequence Addition (Hard Version) ## 题面翻译 本题为困难版,两题的唯一区别在于数据范围的大小。 数列 $a$ 最开始只有一个数 $1$,你可以进行若干次操作,每次操作你可以选取 $k$ 个数($k$ 无限制,小于等于 $a$ 的大小即可),将这 $k$ 阅读全文
posted @ 2023-07-22 10:25 o-Sakurajimamai-o 阅读(39) 评论(0) 推荐(0)
-- --