二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; &nb…… 题解列表 2025年09月15日 1 点赞 0 评论 255 浏览 评分:10.0
组合数(隔板法)+ 高精度 摘要:解题思路:组合数(隔板法)+ 高精度参考代码:#include <iostream>#include <cstring>#include <algorithm>#i…… 题解列表 2025年09月12日 0 点赞 0 评论 243 浏览 评分:0.0
递推 + 前缀和 摘要:解题思路:递推 + 前缀和注意事项:参考代码:#include <iostream>#include <cstring>#include <algorithm>us…… 题解列表 2025年09月12日 0 点赞 0 评论 251 浏览 评分:0.0
编写题解 2780: 奇偶数判断 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int i; …… 题解列表 2025年09月10日 0 点赞 0 评论 434 浏览 评分:10.0
编写题解 2779: 输出绝对值 摘要:#include<bits/stdc++.h>using namespace std;int main(){ double i; &nbs…… 题解列表 2025年09月10日 0 点赞 0 评论 365 浏览 评分:0.0
编写题解 2751: 超级玛丽游戏 摘要:#include<bits/stdc++.h>using namespace std;int main(){ cout<<" &…… 题解列表 2025年09月10日 0 点赞 1 评论 411 浏览 评分:10.0
编写题解 1866: 三位数反转 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int i; …… 题解列表 2025年09月10日 0 点赞 0 评论 288 浏览 评分:0.0
利用vector定义数组大小,static_cast显式转换 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#include <vector>int main(){ int n…… 题解列表 2025年09月10日 0 点赞 0 评论 188 浏览 评分:0.0
1为真,0为假 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b, c, d; cin >> …… 题解列表 2025年09月08日 1 点赞 0 评论 237 浏览 评分:7.0
另一种解题思路 摘要:解题思路:阶梯计算,省去重复步骤注意事项:用goto防止重复计算参考代码:#include<iostream>using namespace std;int main(){ int a =…… 题解列表 2025年09月08日 0 点赞 0 评论 351 浏览 评分:0.0