C语言 自定义函数之整数处理& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Long 10 //改变Long的大小能输入更多的数并实现该功能int main(){ …… 题解列表 2022年11月26日 0 点赞 0 评论 386 浏览 评分:0.0
矩阵交换行-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define N 5 int main() {//给定一个5*5的矩阵(数学上,一个r×c的矩阵是一个由r行c列元素排列成的矩…… 题解列表 2022年11月26日 0 点赞 0 评论 445 浏览 评分:0.0
全排列暴力枚举 摘要:```java import java.util.Scanner; public class 最大乘积 { static int max; public static void m…… 题解列表 2022年11月26日 0 点赞 0 评论 525 浏览 评分:0.0
简单计算,解方程法,设a[1]为x 摘要:#include<iostream>#include<iomanip>using namespace std;class myitem{public: double item_x; double it…… 题解列表 2022年11月26日 0 点赞 0 评论 492 浏览 评分:0.0
[编程入门]成绩评定 题解 摘要:解题思路:直接用if语句编写就可以。注意if的括号后不要加;。输入X的前面要加上&。参考代码:#include <stdio.h>int main(){ int x; scanf("%d", &x);…… 题解列表 2022年11月26日 0 点赞 0 评论 367 浏览 评分:0.0
C语言 自定义函数之数字后移& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Long 30 //Long为数组最大长度int main(){ void move_nu…… 题解列表 2022年11月26日 0 点赞 0 评论 351 浏览 评分:0.0
c语言 一个数组即可搞定 简洁 摘要:解题思路:使用一个数组即可,下标映射注意事项:参考代码:#include<stdio.h> #include<limits.h> int main() { int arr[5000…… 题解列表 2022年11月26日 0 点赞 0 评论 410 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移(有细致的讲解) 摘要:解题思路:注意事项:参考代码:# index,在列表某一确定位置插入确定的东西(insert() 方法在指定位置插入指定的值。),# pop() 函数用于移除列表中的一个元素(默认最后一个元素),并且…… 题解列表 2022年11月26日 0 点赞 0 评论 469 浏览 评分:0.0
计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[500][500]; int i,j,m,n; int sum=0; scanf("%d %d",&…… 题解列表 2022年11月27日 0 点赞 0 评论 403 浏览 评分:0.0
常规解法级数求和 摘要:结果:i = 1835421 Sn = 15.000000参考代码:#include<stdio.h>int main() { int k; double Sn = 0; scanf("%d",&k)…… 题解列表 2022年11月27日 0 点赞 0 评论 427 浏览 评分:0.0