CCCCCCCCCCCCCCCCCCCCCCCC++++++++++++++++++++++++++++++++++ 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 138 浏览 评分:0.0
简单易懂小代码,两个循环解决问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h, w; char str1[] = {'…… 题解列表 2025年11月05日 3 点赞 0 评论 184 浏览 评分:10.0
二分法求函数的零点 摘要:#include<stdio.h>#include<math.h>double target = 1e-7;double f(double x){ r…… 题解列表 2025年11月05日 0 点赞 0 评论 88 浏览 评分:0.0
Py2761-Hello, World!的大小 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=create_string_buffer(b"Hello,…… 题解列表 2025年11月05日 0 点赞 0 评论 50 浏览 评分:0.0
Py2796-输入输出练习之浮点数专题 摘要:解题思路:注意事项:参考代码:n=float(input())print(f'{n:f}\n{n:.5f}\n{n:e}\n{n:g}')…… 题解列表 2025年11月05日 0 点赞 0 评论 87 浏览 评分:0.0
2878:计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:一:比较笨的方法#include<stdio.h>int main(){ int arr[100][100]; &nbs…… 题解列表 2025年11月05日 1 点赞 0 评论 99 浏览 评分:10.0
2876:矩阵交换行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[5][5]={}; for(in…… 题解列表 2025年11月05日 0 点赞 0 评论 109 浏览 评分:0.0
2850:将输入的字符串转变成亲朋字符串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char arr[101]; //scanf("%s…… 题解列表 2025年11月05日 0 点赞 0 评论 65 浏览 评分:0.0
1029:自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void IsPrime(int n); int num; scanf(&…… 题解列表 2025年11月05日 0 点赞 0 评论 100 浏览 评分:0.0
就是数字有点大,我用的long 和%ld 摘要:解题思路:注意事项: 这里我用的是long 用int 的话在后面数值越来越大,会超出int的限定值,从而变成负数。还有要用%ld别搞错了参考代码:#…… 题解列表 2025年11月05日 1 点赞 0 评论 135 浏览 评分:0.0