计算三角形面积 摘要:#include<stdio.h>#include<math.h> //主要是用pow函数double changdu(double x1,double x2,double y1,double y2)…… 题解列表 2024年08月31日 0 点赞 0 评论 537 浏览 评分:8.0
各位大佬看看我的 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void SumAge(char a[4]) { for (size_t i = 0; i <4; i++) { …… 题解列表 2024年08月31日 1 点赞 0 评论 444 浏览 评分:0.0
大象喝水零基础题解 摘要:我们先敲出来C语言的基础框架#include <stdio.h>int main(){ return 0 ;}题目是说问大象喝几桶才能喝够20升同时输入的是cm,这两个很明显不是对应的关系,需要…… 题解列表 2024年08月31日 0 点赞 0 评论 712 浏览 评分:9.9
循环链表解法(c语言代码) 我是很不想用链表的,因为每次写完都有一堆bug,因为链表很容易访问到空指针。但是我更不想用数组,数组太费脑子了。```c#include#include//定义链表节点结构体typedefstructnode{intdata;//节点存储的数据structnode*next;//指向下一个节点的指针s 题解列表 2024年08月31日 0 点赞 1 评论 687 浏览 评分:9.9
循环链表解法(c语言代码) ```c#include#include//定义链表节点结构体typedefstructnode{intdata;//节点存储的数据structnode*next;//指向下一个节点的指针structnode*pre;//指向前一个节点的指针}linklist;//创建一个循环双向链表linklist 题解列表 2024年08月31日 0 点赞 0 评论 388 浏览 评分:9.9
1160: 出圈 (vector , 公式法) 摘要:解题思路:Vector注意事项:删除元素的位置在末尾的时候,需要注意初始化为0参考代码:#include#include using namespace std; int main() { …… 题解列表 2024年08月31日 0 点赞 0 评论 420 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n; scanf("%d",&n); int max=1000000000,min=…… 题解列表 2024年08月31日 0 点赞 0 评论 953 浏览 评分:10.0
判断一年的第几天 摘要:参考代码:#include<stdio.h>struct date { int year; int month; int day;};int main() { struct d…… 题解列表 2024年08月31日 1 点赞 0 评论 393 浏览 评分:9.9
1159题解(C语言) ```c#include#defineMAX101voidfun(intn,intm){inta[MAX];//存储生成的数字的数组intnum=0;//用于跟踪当前存储到数组中的数字//偶数for(inti=0;i 题解列表 2024年08月30日 0 点赞 0 评论 808 浏览 评分:0.0 指针/引用练习之交换数字 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int swap(int *a,int *b){ int temp; temp=*a; *a=*b; *b=temp; return …… 题解列表 2024年08月30日 0 点赞 0 评论 912 浏览 评分:9.9 « 12...417418419420421422423...59115912 »
指针/引用练习之交换数字 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int swap(int *a,int *b){ int temp; temp=*a; *a=*b; *b=temp; return …… 题解列表 2024年08月30日 0 点赞 0 评论 912 浏览 评分:9.9