2765: 计算分数的浮点数值 摘要:```cpp #include #include using namespace std; int main() { int a,b; cin>>a>>b; c…… 题解列表 2023年01月10日 1 点赞 0 评论 393 浏览 评分:10.0
2834: 与指定数字相同的数的个数 摘要:```cpp #include using namespace std; int main() { int a[100],x,sum=0,n; cin>>n; f…… 题解列表 2023年01月10日 0 点赞 0 评论 635 浏览 评分:9.9
2821: 开关灯 摘要:```cpp #include using namespace std; int a[5001],n,i,j,m; int main() { cin>>n>>m; boo…… 题解列表 2023年01月10日 0 点赞 0 评论 459 浏览 评分:9.9
2875: 回文子串 摘要:```cpp #include #include using namespace std; bool dp[500][500]; int main() { char s[500]…… 题解列表 2023年01月10日 0 点赞 0 评论 422 浏览 评分:7.3
1214: 恺撒密码 摘要:```cpp #include using namespace std; int main() { string str; while(getline(cin,str)) …… 题解列表 2023年01月10日 0 点赞 0 评论 370 浏览 评分:9.9
1215: 愚蠢的摄影师 摘要:```cpp #include using namespace std; int main() { int N,A[55]={1,1,2}; for(int i=3;i>N…… 题解列表 2023年01月10日 0 点赞 0 评论 383 浏览 评分:9.9
2254: 蓝桥杯算法提高-奥运会开幕式 摘要:```cpp #include using namespace std; int main() { int n,m,p=0; cin>>n>>m; for(int…… 题解列表 2023年01月10日 0 点赞 0 评论 301 浏览 评分:9.9
1216: 成绩转换 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) switch(n/…… 题解列表 2023年01月10日 0 点赞 0 评论 475 浏览 评分:9.9
1217: 换位置 摘要:```cpp #include using namespace std; int main() { int n,i; cin>>n; while(n--) {…… 题解列表 2023年01月10日 0 点赞 0 评论 446 浏览 评分:9.9
【Python解法】A+B+C+D 摘要:#### 思路: 隔板法,即往 `e-1` 个间隔中放入3个隔板,因此结果为: $$\large \tbinom{e-1}{3}=\frac{(e-1)(e-2)(e-3)}{3!}$$ …… 题解列表 2023年01月10日 0 点赞 0 评论 330 浏览 评分:9.9