不高兴的津津(C语言)(有注释)(简单易懂) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int a[7][2]; // 存储每天的上课时间和…… 题解列表 2023年11月12日 0 点赞 0 评论 915 浏览 评分:9.9
计算鞍点(c语言)(有注释)(简单易懂) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int arr[5][5]; int i,…… 题解列表 2023年11月12日 0 点赞 0 评论 1590 浏览 评分:8.4
图像相似度(c语言) 摘要:解题思路:1. 导入所需的头文件,其中包括<stdio.h>和<math.h>,用于输入输出和数学计算。2. 声明变量m、n、i、j,以及两个二维数组a和b,分别表示矩阵的大小和内容。3. 使用sca…… 题解列表 2023年11月12日 0 点赞 0 评论 821 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char arr1[20] = { '0' }; char arr2[20] = {…… 题解列表 2023年11月12日 0 点赞 0 评论 459 浏览 评分:2.0
矩阵交换行(二维数组)(简单易懂) 解题思路:1.引入必要的头文件`stdio.h`和`math.h`。2.定义一个大小为5x5的整型数组`arr`,用于存储输入的数据。3.定义两个变量`i`和`j`,用于在循环中迭代数组的行和列。4.使用嵌套循环,遍历数组的每个位置,并通过`scanf`函数从用户处读取输入。 题解列表 2023年11月12日 0 点赞 0 评论 1017 浏览 评分:0.0
Hello, World!Hello, World!Hello, World! 摘要:解题思路: 注意事项:注意要写成Hello, World!参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout…… 题解列表 2023年11月12日 0 点赞 0 评论 441 浏览 评分:0.0
鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double x,y,d,d1…… 题解列表 2023年11月12日 0 点赞 0 评论 717 浏览 评分:8.5
我的很简洁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdbool.h>bool is_prime(int n) { if (n <= 1) { …… 题解列表 2023年11月12日 0 点赞 0 评论 479 浏览 评分:0.0
1023: [编程入门]选择排序 冒泡排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j,temp; for(i=0; i<10; i++){ sc…… 题解列表 2023年11月12日 0 点赞 0 评论 499 浏览 评分:9.9
求最大公约数最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,m,n,i,j; scanf("%d %d",&a,&b); m=a<b?b:…… 题解列表 2023年11月12日 0 点赞 0 评论 424 浏览 评分:0.0