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 评论 430 浏览 评分: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 评论 470 浏览 评分:9.9
用字符串流stringstream方法解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; string a; getch…… 题解列表 2022年07月28日 0 点赞 0 评论 399 浏览 评分:0.0
递归解题编写题解 1004: [递归]母牛的故事 摘要:解题思路:可以通过对前面几个数据进行总结规律注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int f[1000]={0};int dfc(i…… 题解列表 2022年07月28日 0 点赞 0 评论 385 浏览 评分:6.0
C/C++别问为什么高精度,问就是上题改过来的 耗时1 摘要:代码解释都用注释写在旁边了解题思路:一步步来就没问题注意事项:上题过了这题就一遍过;可能要有的:①忽略前导0 如009+001-002这样的②直接回车也输出0参考代码:#include<stdio.h…… 题解列表 2022年07月28日 0 点赞 0 评论 460 浏览 评分:9.9
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); …… 题解列表 2022年07月28日 0 点赞 0 评论 266 浏览 评分:0.0
编写题解 1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double r = 0; scanf("%lf", &r); printf("%…… 题解列表 2022年07月28日 0 点赞 0 评论 294 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); …… 题解列表 2022年07月28日 0 点赞 0 评论 427 浏览 评分:0.0
编写题解 1005: [编程入门]温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double F = 0; scanf("%lf", &F); printf("c…… 题解列表 2022年07月28日 0 点赞 0 评论 362 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char c1 = 'C', c2 = 'h', c3 = &#…… 题解列表 2022年07月28日 0 点赞 0 评论 352 浏览 评分:0.0