bilibili本人的号
备战csp2026
个人日记,以后坚决不用唐包了,也不好用,整天错误判断,不如自己做题。
个人英勇事迹:
1 :2024.4.17 洛谷AC100题!!!
2 :2024.8.9 洛谷AC200题!!!!!
3:2024.9.21 csp初赛91.5完美进入
4:2024.11.11 洛谷AC300题!!!!!!!
5:2024.11.19 csp-j 成功拿下一等奖,带上高贵的钩子
6:2025.3.17 在历经棕名事件还是经过不懈努力成功橙名,感谢洛谷,感谢自己
7:2025.6.6 AC400题,提交量达1000
8:2025.12.1 终于红名了!!!!!!
9:2026.1.2 AC500题,等级分1200
这张图每次刷新都不一样!!!!!!
原创题目
递推小菜【fuxuanshuo(原创)】
题解
#include<bits/stdc++.h>
using namespace std;
const int mod =100000008;
long long t,n,m,f[10000005];
int main(){
cin>>n>>m>>t;
f[1]=n,f[2]=m;
for(long long i=3;i<=t;i++){
f[i]=f[i-2]*2+f[i-1];
f[i]%=mod;
}
cout<<f[t]%100000008;
return 0;
}and
高精加【fuxuanshuo(原创)】
题解
#include <cstdio>
#include <cstring>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<string>
using namespace std;
int t1=0,t2=0;
int main()
{
char a[202]={0}, b[202]={0};
scanf("%s%s", a, b);
int alen = strlen(a), blen = strlen(b), t = 0, i;
int a1[202]={0}, b1[202]={0};
for(i=0;i<alen;i++){
if(a[i]=='1') t1++;
}
for(i=0;i<blen;i++){
if(b[i]=='1') t2++;
}
if(t1==1&&t2==1){
cout<<3;
return 0;
}
for (i = 0; i < alen; i++) a1[i] = a[alen-1-i]-'0';
for (i = 0; i < blen; i++) b1[i] = b[blen-1-i]-'0';
alen = (alen > blen) ? alen : blen;
for (i = 0; i <= alen; i++)
t = a1[i]+b1[i], a1[i] = t%10, a1[i+1] += t/10;
while (!a1[i] && i) i--;
for(; i >= 0; i--) printf("%d", a1[i]);
return 0;
}and
数塔问题
题解
#include<iostream>
#include<cstdio>
#include<cmath>
#include<string>
#include<cstring>
#include<algorithm>
#include<bits/stdc++.h>
using namespace std;
int a[1000][1000];
int n;
int main(){
cin>>n;
for(int i=1;i<=n;i++){
for(int j=1;j<=i;j++){
cin>>a[i][j];
}
}
for(int i=n-1;i>=1;i--){
for(int j=1;j<=i;j++){
a[i][j]=max(a[i+1][j],a[i+1][j+1])+a[i][j];
}
}
cout<<a[1][1];
return 0;
}我还是个骑士厨,卡面来打
我还特别喜欢艾克赛德!!!
加油打csp-s!!!
let’s go!!!!
杂物间
快快读
namespace FastIO {
char buf[1 << 21], *p1 = buf, *p2 = buf;
#define getchar() (p1 == p2 && (p1 = buf, p2 = (p1 + fread(buf, 1, 1 << 21, stdin))) == p1 ? EOF : *p1++)
template <typename T> inline T read() { T x = 0, w = 0; char ch = getchar(); while (ch < '0' || ch > '9') w |= (ch == '-'), ch = getchar(); while ('0' <= ch && ch <= '9') x = x * 10 + (ch ^ '0'), ch = getchar(); return w ? -x : x; }
template <typename T> inline void write(T x) { if (!x) return; write<T>(x / 10), putchar((x % 10) ^ '0'); }
template <typename T> inline void print(T x) { if (x > 0) write<T>(x); else if (x < 0) putchar('-'), write<T>(-x); else putchar('0'); }
template <typename T> inline void print(T x, char en) { print<T>(x), putchar(en); }
}; using namespace FastIO;
#undef getchar()
