1771: [编程入门]链表之节点删除 摘要:```c#include #include struct Student { int id; int score; struct Student *nex…… 题解列表 2025年03月17日 0 点赞 0 评论 692 浏览 评分:0.0
编写题解 1770: [编程入门]链表之报数问题 摘要:```c#include struct Student{ int id; struct Student *next;};int main() { int n;…… 题解列表 2025年03月16日 3 点赞 0 评论 755 浏览 评分:0.0
c语言栈八进制转换(记录代码) 摘要:#include#include#define maxsize 100//定义线性栈 typedef struct{ int data[maxsize]; int top;…… 题解列表 2025年03月14日 1 点赞 0 评论 567 浏览 评分:0.0
2761: Hello, World!的大小 摘要:解题思路:stringLength(str)= 13注意事项:字符串最后有个\0,所以加起来是14参考代码:2761: Hello, World!的大小#include<stdio.…… 题解列表 2025年03月13日 0 点赞 0 评论 972 浏览 评分:0.0
蛇形矩阵(C语言题解) 解题思路:不使用数组注意事项:参考代码:#includeintmain(){inti,j,k,N,sum;scanf("%d",&N);i=1;while(i<=N){j=i;sum=0;while(j<=N){sum=sum+j;printf("%d", 题解列表 2025年03月13日 2 点赞 0 评论 1006 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2 摘要:```c#include struct student{ char id[100]; char name[100]; int a; int b; int c;}; …… 题解列表 2025年03月12日 0 点赞 0 评论 1035 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:```c#include struct Data{ int year; int month; int day;}; int main() { struct…… 题解列表 2025年03月12日 1 点赞 0 评论 1075 浏览 评分:0.0
题解 2774: 计算三角形面积(海伦公式)-详解 摘要:解题思路:1.输入部分:使用scanf函数读取三个点的坐标。2.计算三边长度:使用两点间距离公式(x2−x1)2+(y2−y1)2计算三角形的三边长度。…… 题解列表 2025年03月11日 3 点赞 0 评论 1686 浏览 评分:10.0
1028: [编程入门]自定义函数求一元二次方程 摘要:```c#include #include int main() { double a,b,c; scanf("%lf%lf%lf",&a,&b,&c); doubl…… 题解列表 2025年03月11日 0 点赞 0 评论 1269 浏览 评分:0.0
c语言---8除不尽的数,最优题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() {int i;for (i = 1; i < 10000; i++) {…… 题解列表 2025年03月11日 3 点赞 0 评论 924 浏览 评分:10.0