题解列表
优质题解
2120: 信息学奥赛一本通T1312-昆虫繁殖
摘要:解题思路:每对成虫过x个月产y对卵,每对卵要过两个月长成成虫。假设每个成虫不死,第一个月只有一对成虫,且卵长成成虫后的第一个月不产卵(过X个月产卵),问过Z个月以后,共有成虫多少对?0≤X≤20,1≤……
蓝桥杯2021年第十二届国赛真题-二进制问题 -- 数位dp
摘要:```cpp
#include
#include
using namespace std;
const int N = 100;
long long f[N][N];
long l……
[编程入门]C语言循环移位
摘要:解题思路:注意事项:参考代码://程序名:新的C++程序//作者: #include<iostream>#include<fstream>#include<algorithm>using namesp……
[编程入门]二进制移位练习
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<cmath>using namespace std;vector<int> arr;……
蓝桥杯算法提高VIP-淘淘的名单
摘要:解题思路:注意事项:参考代码://程序名:新的C++程序//作者: #include<iostream>#include<fstream>#include<algorithm>using namesp……
1195: 去掉双斜杠注释
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str1="//"; string……
C语言训练-"水仙花数"问题1
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long n……
1197: 发工资咯
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int Dno[6]={100,50,10,5,2,1};//面额大小 int su……
二级C语言-求偶数和
摘要:解题思路:用%做注意事项:%2参考代码:#include<bits/stdc++.h>using namespace std;int n,s,z;int main(){ cin>>n; for……