编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); …… 题解列表 2022年07月28日 0 点赞 0 评论 253 浏览 评分:0.0
C/C++别问为什么高精度,问就是上题改过来的 耗时1 摘要:代码解释都用注释写在旁边了解题思路:一步步来就没问题注意事项:上题过了这题就一遍过;可能要有的:①忽略前导0 如009+001-002这样的②直接回车也输出0参考代码:#include<stdio.h…… 题解列表 2022年07月28日 0 点赞 0 评论 445 浏览 评分:9.9
递归解题编写题解 1004: [递归]母牛的故事 摘要:解题思路:可以通过对前面几个数据进行总结规律注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int f[1000]={0};int dfc(i…… 题解列表 2022年07月28日 0 点赞 0 评论 369 浏览 评分:6.0
用字符串流stringstream方法解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; string a; getch…… 题解列表 2022年07月28日 0 点赞 0 评论 376 浏览 评分:0.0
题解 1218: 排列。这道题的关键点是输入到数组里的4个字符本身是不可以进行排序的,它们是按照已经规定好的顺序进行的排列。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[5]={0},b[4] = {0,…… 题解列表 2022年07月28日 0 点赞 0 评论 457 浏览 评分:9.9
1851: 求所给范围内水仙花数并排列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int i; int m,n; int a[100][100]={0}; int t=0,q=0; in…… 题解列表 2022年07月28日 0 点赞 0 评论 416 浏览 评分:0.0
C# 字符串编辑-insert -erase-find 摘要:```cpp #include using namespace std; int main() { int t=0; string s; char n,m,a1,a2; …… 题解列表 2022年07月29日 0 点赞 0 评论 379 浏览 评分:0.0
C# 蓝桥杯算法训练VIP-最长字符串-size 摘要:```cpp #include using namespace std; string s,ss; int main() { for(int i=0;i>s; if(…… 题解列表 2022年07月29日 0 点赞 0 评论 285 浏览 评分:0.0
编写题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0, c = 0; int max = 0; sca…… 题解列表 2022年07月29日 0 点赞 0 评论 360 浏览 评分:0.0
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int x = 0, y = 0; scanf("%d", &x); if …… 题解列表 2022年07月29日 0 点赞 0 评论 263 浏览 评分:0.0